summaryrefslogtreecommitdiff
path: root/cmd/podman/save.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-08-01 23:36:07 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-02 13:17:17 +0000
commit4cf9308bf25ce172b89bc6dc6a5a328dc3b254d5 (patch)
tree39d7fdc43e76e20067a09f026234185f349d2095 /cmd/podman/save.go
parent48763b14aedc6c90ab635e0c7a8ba3e35d051e92 (diff)
downloadpodman-4cf9308bf25ce172b89bc6dc6a5a328dc3b254d5.tar.gz
podman-4cf9308bf25ce172b89bc6dc6a5a328dc3b254d5.tar.bz2
podman-4cf9308bf25ce172b89bc6dc6a5a328dc3b254d5.zip
Introduce getSinglePullRefNameGoal
This merely wraps the > return singlePullRefNameGoal(getPullRefName(... reference)), nil pattern which is used for almost all getPullRefName uses. For now it seems not really worth it, but it will result in shorter code (and smaller migration) after we replace getPullRefName with getPullRefPair, which can fail, again - the pullGoalNamesFromImageReference will not have to add any error handling. Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1198 Approved by: mheon
Diffstat (limited to 'cmd/podman/save.go')
0 files changed, 0 insertions, 0 deletions