daemon: rename from "delete" job to "rm"
This commit fixes following FIXMEs: // FIXME: rename "delete" to "rm" for consistency with the CLI command // FIXME: rename ContainerDestroy to ContainerRm for consistency with the CLI command Signed-off-by: lim seong yeol <seongyeol37@gmail.com> Upstream-commit: 239e932485c3e0f72a4f88ce1301ebe269eb2e27 Component: engine
This commit is contained in:
@ -679,7 +679,7 @@ func deleteContainers(eng *engine.Engine, version version.Version, w http.Respon
|
||||
if vars == nil {
|
||||
return fmt.Errorf("Missing parameter")
|
||||
}
|
||||
job := eng.Job("delete", vars["name"])
|
||||
job := eng.Job("rm", vars["name"])
|
||||
|
||||
job.Setenv("forceRemove", r.Form.Get("force"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user