mirror of
https://github.com/containers/podman.git
synced 2025-06-26 21:07:02 +08:00
Fix a typo
Update LineInOuputContains to LineInOutputContains. Signed-off-by: Yiqiao Pu <ypu@redhat.com> Closes: #642 Approved by: rhatdan
This commit is contained in:
@ -487,7 +487,7 @@ func (s *PodmanSession) LineInOuputStartsWith(term string) bool {
|
||||
|
||||
//LineInOutputContains returns true if a line in a
|
||||
// session output starts with the supplied string
|
||||
func (s *PodmanSession) LineInOuputContains(term string) bool {
|
||||
func (s *PodmanSession) LineInOutputContains(term string) bool {
|
||||
for _, i := range s.OutputToStringArray() {
|
||||
if strings.Contains(i, term) {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user