mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
checkpoint: fix gofmt
Fixes: a60040c62d ("Container must not checkpoint in created state")
Fixes: #1076
Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ checkpointed.`,
|
||||
}
|
||||
status, err := container.Status()
|
||||
if err != nil {
|
||||
return(err)
|
||||
return err
|
||||
}
|
||||
if status == libcontainer.Created {
|
||||
fatalf("Container cannot be checkpointed in created state")
|
||||
|
||||
Reference in New Issue
Block a user