summaryrefslogtreecommitdiff
path: root/libpod/container_commit.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 /libpod/container_commit.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 'libpod/container_commit.go')
0 files changed, 0 insertions, 0 deletions