From 48e7bae4e01627aa2ca2df83e3b8c0e53bcd5b6e Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sun, 19 Apr 2020 18:13:46 +0300 Subject: [PATCH] Return labes in API (fixes #5882) Signed-off-by: Anatoli Babenia --- pkg/api/handlers/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/handlers/types.go b/pkg/api/handlers/types.go index 4c081cf85d..4c5e384370 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,