diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-05-03 10:35:48 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-05-03 10:36:16 -0400 |
commit | d7c367aa61850936249fc99461a92185cb6ba8aa (patch) | |
tree | bc07f5c401638ce59e107a5f13f8b87a06f6fd95 /cmd/podman | |
parent | e1443fe05d146def61a5bb882ed0aafea5730d64 (diff) | |
download | podman-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.go | 2 |
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() |