From 62ee24bb7c94556c8ed63553d2695d3c2ac24418 Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Mon, 1 Nov 2021 20:15:00 +0100 Subject: More conforming libpod API and swagger types Signed-off-by: Matej Vasek --- pkg/api/handlers/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/api') diff --git a/pkg/api/handlers/types.go b/pkg/api/handlers/types.go index b90154e30..9ad3bcca0 100644 --- a/pkg/api/handlers/types.go +++ b/pkg/api/handlers/types.go @@ -42,9 +42,9 @@ type ContainersPruneReport struct { } type LibpodContainersPruneReport struct { - ID string `json:"id"` - SpaceReclaimed int64 `json:"space"` - PruneError string `json:"error"` + ID string `json:"Id"` + SpaceReclaimed int64 `json:"Space"` + PruneError string `json:"Err,omitempty"` } type Info struct { -- cgit v1.2.3-54-g00ecf