From 48e7bae4e01627aa2ca2df83e3b8c0e53bcd5b6e Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sun, 19 Apr 2020 18:13:46 +0300 Subject: Return labes in API (fixes #5882) Signed-off-by: Anatoli Babenia --- pkg/api/handlers/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/api') 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, -- cgit v1.2.3-54-g00ecf