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:
Aleksa Sarai 2016-10-19 05:37:18 +11:00
parent bf77e5976a
commit 38560a0316
No known key found for this signature in database
GPG Key ID: 9E18AA267DDB8DB4
1 changed files with 1 additions and 1 deletions

View File

@ -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")