summaryrefslogtreecommitdiff
path: root/libpod/adapter
diff options
context:
space:
mode:
authorLars Karlitski <lars@karlitski.net>2019-02-04 19:12:46 +0100
committerLars Karlitski <lars@karlitski.net>2019-02-12 14:48:19 +0100
commit8a51b11058d4e5581d53177a1cee5e05aac57500 (patch)
treeeadda9d9e5e4c8f7be0bb191e84702e87fff6e28 /libpod/adapter
parent27baf9970e1267f4ad48692a4465e7b61310af4a (diff)
downloadpodman-8a51b11058d4e5581d53177a1cee5e05aac57500.tar.gz
podman-8a51b11058d4e5581d53177a1cee5e05aac57500.tar.bz2
podman-8a51b11058d4e5581d53177a1cee5e05aac57500.zip
varlink: Rename `ImageInList` to `Image`
Image more clearly describes what the type represents. Also, only include the image name in the `ImageNotFound` error returned by `GetImage()`, not the full error message. Signed-off-by: Lars Karlitski <lars@karlitski.net>
Diffstat (limited to 'libpod/adapter')
-rw-r--r--libpod/adapter/runtime_remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/adapter/runtime_remote.go b/libpod/adapter/runtime_remote.go
index 644802909..14a7d5652 100644
--- a/libpod/adapter/runtime_remote.go
+++ b/libpod/adapter/runtime_remote.go
@@ -111,7 +111,7 @@ func (r *LocalRuntime) GetImages() ([]*ContainerImage, error) {
return newImages, nil
}
-func imageInListToContainerImage(i iopodman.ImageInList, name string, runtime *LocalRuntime) (*ContainerImage, error) {
+func imageInListToContainerImage(i iopodman.Image, name string, runtime *LocalRuntime) (*ContainerImage, error) {
created, err := time.ParseInLocation(time.RFC3339, i.Created, time.UTC)
if err != nil {
return nil, err