summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-15 23:07:28 +0200
committerGitHub <noreply@github.com>2020-09-15 23:07:28 +0200
commit2eb3339343482dfa860bd171920ec22fd6a5495d (patch)
tree8a2bc10f3c42e6e3a484e0d8d5fd2b39889e3f78 /cmd
parentbec96ab03479c5a799be8581bd32c2777ff23ea7 (diff)
parent0f1d9b3bbc13353e3535fe16e7734589b44f1b54 (diff)
downloadpodman-2eb3339343482dfa860bd171920ec22fd6a5495d.tar.gz
podman-2eb3339343482dfa860bd171920ec22fd6a5495d.tar.bz2
podman-2eb3339343482dfa860bd171920ec22fd6a5495d.zip
Merge pull request #7644 from edsantiago/bats
Fix CI breakage due to PR collision
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/containers/wait.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/wait.go b/cmd/podman/containers/wait.go
index 9bb39e978..4bc3d20e2 100644
--- a/cmd/podman/containers/wait.go
+++ b/cmd/podman/containers/wait.go
@@ -78,7 +78,7 @@ func wait(cmd *cobra.Command, args []string) error {
return errors.Errorf("%q requires a name, id, or the \"--latest\" flag", cmd.CommandPath())
}
if waitOptions.Latest && len(args) > 0 {
- return errors.New("--latest and containers are not allowed")
+ return errors.New("--latest and containers cannot be used together")
}
waitOptions.Condition, err = define.StringToContainerStatus(waitCondition)