aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi
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/infra/abi
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/infra/abi')
-rw-r--r--pkg/domain/infra/abi/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go
index 8878bf128..7aa202334 100644
--- a/pkg/domain/infra/abi/images.go
+++ b/pkg/domain/infra/abi/images.go
@@ -57,7 +57,7 @@ func (ir *ImageEngine) Prune(ctx context.Context, opts entities.ImagePruneOption
pruneOptions.Filters = append(pruneOptions.Filters, "containers=false")
}
- var pruneReports []*reports.PruneReport
+ pruneReports := make([]*reports.PruneReport, 0)
// Now prune all images until we converge.
numPreviouslyRemovedImages := 1