diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-19 01:15:02 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-23 12:44:38 +0000 |
commit | 8ff0eb53cb7bc1e38ce784ce71e44d03e0210af3 (patch) | |
tree | 39746c7c467f85a3ace5df8d70e946daae98d766 /libpod/container_internal_test.go | |
parent | 38842bd4075f35073ba64ee52c329a408d54b088 (diff) | |
download | podman-8ff0eb53cb7bc1e38ce784ce71e44d03e0210af3.tar.gz podman-8ff0eb53cb7bc1e38ce784ce71e44d03e0210af3.tar.bz2 podman-8ff0eb53cb7bc1e38ce784ce71e44d03e0210af3.zip |
Use the result of reference.Parse when checking for digests.
No need to do a separate string search when reference.Parse has already
determined this.
Changes behavior: non-SHA256 digest formats are now recognized as well.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1112
Approved by: rhatdan
Diffstat (limited to 'libpod/container_internal_test.go')
0 files changed, 0 insertions, 0 deletions