aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-05-03 10:35:48 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-05-03 10:36:16 -0400
commitd7c367aa61850936249fc99461a92185cb6ba8aa (patch)
treebc07f5c401638ce59e107a5f13f8b87a06f6fd95 /cmd/podman
parente1443fe05d146def61a5bb882ed0aafea5730d64 (diff)
downloadpodman-d7c367aa61850936249fc99461a92185cb6ba8aa.tar.gz
podman-d7c367aa61850936249fc99461a92185cb6ba8aa.tar.bz2
podman-d7c367aa61850936249fc99461a92185cb6ba8aa.zip
Address review comments on restart policy
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/shared/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go
index d2bd23e3e..d1f704374 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -42,7 +42,7 @@ func CreateContainer(ctx context.Context, c *GenericCLIResults, runtime *libpod.
defer span.Finish()
}
if c.Bool("rm") && c.String("restart") != "" && c.String("restart") != "no" {
- return nil, nil, errors.Errorf("the --rm flag conflicts with --restart")
+ return nil, nil, errors.Errorf("the --rm option conflicts with --restart")
}
rtc, err := runtime.GetConfig()