Skip to content

Commit

Permalink
Revert to check if tests pass
Browse files Browse the repository at this point in the history
This reverts commit 8ca101a.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
  • Loading branch information
lsm5 committed Jun 19, 2020
1 parent 8ca101a commit a363496
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -186,3 +186,6 @@ The Cirrus CI integration within this repository contains a `static_build` job
which produces a static Podman binary for testing purposes. Please note that
this binary is not officially supported with respect to feature-completeness
and functionality and should be only used for testing.


TEST CHANGE FOR CI
4 changes: 1 addition & 3 deletions cmd/podman/images/list.go
Expand Up @@ -184,16 +184,14 @@ func writeTemplate(imageS []*entities.ImageSummary) error {
}

func tokenRepoTag(tag string) (string, string) {
tokens := strings.Split(tag, ":")
tokens := strings.SplitN(tag, ":", 2)
switch len(tokens) {
case 0:
return tag, ""
case 1:
return tokens[0], ""
case 2:
return tokens[0], tokens[1]
case 3:
return tokens[0] + ":" + tokens[1], tokens[2]
default:
return "<N/A>", ""
}
Expand Down

0 comments on commit a363496

Please sign in to comment.