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:
parent
bf77e5976a
commit
38560a0316
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue