summaryrefslogtreecommitdiff
path: root/test/utils/utils.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-01-18 20:01:29 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-09 20:00:19 -0500
commit1543a01be874af690b7ade9b226d9d62e43ac036 (patch)
tree1c0ced1346aedfb72f4936c740f176f8b527589c /test/utils/utils.go
parentc86e8f180c8b0cdbd1bafe327c4671370096c45f (diff)
downloadpodman-1543a01be874af690b7ade9b226d9d62e43ac036.tar.gz
podman-1543a01be874af690b7ade9b226d9d62e43ac036.tar.bz2
podman-1543a01be874af690b7ade9b226d9d62e43ac036.zip
Add --all-tags to pull command
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Add --all-tags for the `podman pull` command so all tags of an image will be pulled, not just ':latest'. Emulates the change in Buildah https://github.com/containers/buildah/pull/1263 Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r--test/utils/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go
index 23dcb95e3..aace018cd 100644
--- a/test/utils/utils.go
+++ b/test/utils/utils.go
@@ -270,7 +270,7 @@ func (s *PodmanSession) LineInOuputStartsWith(term string) bool {
}
//LineInOutputContains returns true if a line in a
-// session output starts with the supplied string
+// session output contains the supplied string
func (s *PodmanSession) LineInOutputContains(term string) bool {
for _, i := range s.OutputToStringArray() {
if strings.Contains(i, term) {