aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-02 18:19:24 +0100
committerGitHub <noreply@github.com>2021-11-02 18:19:24 +0100
commite63e90999c88c7e8c9193c98df962e47001adb0f (patch)
treea60243c69d6febb0f813a609a469014b451d8405 /pkg/domain/entities
parent0d5aef47d3b5322d8d7d876a27ff06b5eb71c97a (diff)
parentd0dfc5e2234a3567addd8163a0bd6a3f03d740cc (diff)
downloadpodman-e63e90999c88c7e8c9193c98df962e47001adb0f.tar.gz
podman-e63e90999c88c7e8c9193c98df962e47001adb0f.tar.bz2
podman-e63e90999c88c7e8c9193c98df962e47001adb0f.zip
Merge pull request #12156 from matejvasek/docker-api-zero-value-fixes
Fix libpod API conformance to swagger
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/reports/prune.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/domain/entities/reports/prune.go b/pkg/domain/entities/reports/prune.go
index 5494ac3ae..219e35b67 100644
--- a/pkg/domain/entities/reports/prune.go
+++ b/pkg/domain/entities/reports/prune.go
@@ -1,9 +1,9 @@
package reports
type PruneReport struct {
- Id string //nolint
- Err error
- Size uint64
+ Id string `json:"Id"` //nolint
+ Err error `json:"Err,omitempty"`
+ Size uint64 `json:"Size"`
}
func PruneReportsIds(r []*PruneReport) []string {