mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +08:00
Merge pull request #7644 from edsantiago/bats
Fix CI breakage due to PR collision
This commit is contained in:
@ -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())
|
return errors.Errorf("%q requires a name, id, or the \"--latest\" flag", cmd.CommandPath())
|
||||||
}
|
}
|
||||||
if waitOptions.Latest && len(args) > 0 {
|
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)
|
waitOptions.Condition, err = define.StringToContainerStatus(waitCondition)
|
||||||
|
Reference in New Issue
Block a user