summaryrefslogtreecommitdiff
path: root/daemon/containerd/image_list.go
diff options
context:
space:
mode:
authorAkihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>2023-05-16 15:10:07 +0900
committerGitHub <noreply@github.com>2023-05-16 15:10:07 +0900
commit1371aee3cc38134778e2e85f1a4122d1b31d344d (patch)
tree8947b57138e50f434702aab158bb6d40d33d02da /daemon/containerd/image_list.go
parent9548916aa83ded9f90c93a3d3b37074a03b47dc9 (diff)
parent913b0f51cab18a56247a950f5f1e75ca79b63039 (diff)
downloaddocker-1371aee3cc38134778e2e85f1a4122d1b31d344d.tar.gz
Merge pull request #45469 from thaJeztah/deprecate_virtualsize_STEP2
API: omit deprecated VirtualSize field for API v1.44 and up
Diffstat (limited to 'daemon/containerd/image_list.go')
-rw-r--r--daemon/containerd/image_list.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon/containerd/image_list.go b/daemon/containerd/image_list.go
index a9f3405353..66326c1207 100644
--- a/daemon/containerd/image_list.go
+++ b/daemon/containerd/image_list.go
@@ -250,7 +250,6 @@ func (i *ImageService) singlePlatformImage(ctx context.Context, contentStore con
RepoDigests: repoDigests,
RepoTags: repoTags,
Size: totalSize,
- VirtualSize: totalSize, //nolint:staticcheck // ignore SA1019: field is deprecated, but still set on API < v1.44.
// -1 indicates that the value has not been set (avoids ambiguity
// between 0 (default) and "not set". We cannot use a pointer (nil)
// for this, as the JSON representation uses "omitempty", which would