Skip to content

Commit

Permalink
fix prefix '//' pushing to registry
Browse files Browse the repository at this point in the history
close #1742
Do not use StringWithinTransport() to describe the image in the return message.

Signed-off-by: Qi Wang <[email protected]>
  • Loading branch information
QiWang19 committed Jul 28, 2019
1 parent 555b5a5 commit 98c41db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/buildah/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func pushCmd(c *cobra.Command, args []string, iopts pushResults) error {
} else {
logrus.Debugf("pushed image with digest %s", digest.String())
}
fmt.Printf("Successfully pushed %s@%s\n", dest.StringWithinTransport(), digest.String())
fmt.Printf("Successfully pushed %s@%s\n", transports.ImageName(dest), digest.String())

return nil
}
Expand Down

0 comments on commit 98c41db

Please sign in to comment.