summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/reports
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-11-01 20:15:00 +0100
committerMatej Vasek <mvasek@redhat.com>2021-11-01 20:19:06 +0100
commit62ee24bb7c94556c8ed63553d2695d3c2ac24418 (patch)
tree2ef3168cfdee81a7973ed339c927d30b4dea7287 /pkg/domain/entities/reports
parenta845613d03db2c15c2aade29f78cd74c28957f1b (diff)
downloadpodman-62ee24bb7c94556c8ed63553d2695d3c2ac24418.tar.gz
podman-62ee24bb7c94556c8ed63553d2695d3c2ac24418.tar.bz2
podman-62ee24bb7c94556c8ed63553d2695d3c2ac24418.zip
More conforming libpod API and swagger types
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/domain/entities/reports')
-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 {