mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
Remove fatalf()
It was only used in one place, all others are happy with `fatal(fmt.Errorf())`. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ checkpointed.`,
|
||||
return err
|
||||
}
|
||||
if status == libcontainer.Created || status == libcontainer.Stopped {
|
||||
fatalf("Container cannot be checkpointed in %s state", status.String())
|
||||
fatal(fmt.Errorf("Container cannot be checkpointed in %s state", status.String()))
|
||||
}
|
||||
options := criuOptions(context)
|
||||
if !(options.LeaveRunning || options.PreDump) {
|
||||
|
||||
Reference in New Issue
Block a user