summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorAnatoli Babenia <anatoli@rainforce.org>2020-04-19 18:13:46 +0300
committerAnatoli Babenia <anatoli@rainforce.org>2020-04-20 09:56:37 +0300
commit48e7bae4e01627aa2ca2df83e3b8c0e53bcd5b6e (patch)
tree831f48bd80c88fe441049d0e6a4cfdab5721bbd9 /pkg/api
parente4e42b28dfef0ffd12f2087048dec61f9cb03976 (diff)
downloadpodman-48e7bae4e01627aa2ca2df83e3b8c0e53bcd5b6e.tar.gz
podman-48e7bae4e01627aa2ca2df83e3b8c0e53bcd5b6e.tar.bz2
podman-48e7bae4e01627aa2ca2df83e3b8c0e53bcd5b6e.zip
Return labes in API (fixes #5882)
Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/handlers/types.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/types.go b/pkg/api/handlers/types.go
index 4c081cf85..4c5e38437 100644
--- a/pkg/api/handlers/types.go
+++ b/pkg/api/handlers/types.go
@@ -311,7 +311,7 @@ func ImageDataToImageInspect(ctx context.Context, l *libpodImage.Image) (*ImageI
// NetworkDisabled: false,
// MacAddress: "",
// OnBuild: nil,
- // Labels: nil,
+ Labels: info.Labels,
// StopSignal: "",
// StopTimeout: nil,
// Shell: nil,