summaryrefslogtreecommitdiff
path: root/api/types/types.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 /api/types/types.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 'api/types/types.go')
-rw-r--r--api/types/types.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/api/types/types.go b/api/types/types.go
index b413e02000..d6aa3d6385 100644
--- a/api/types/types.go
+++ b/api/types/types.go
@@ -118,12 +118,7 @@ type ImageInspect struct {
// VirtualSize is the total size of the image including all layers it is
// composed of.
//
- // In versions of Docker before v1.10, this field was calculated from
- // the image itself and all of its parent images. Docker v1.10 and up
- // store images self-contained, and no longer use a parent-chain, making
- // this field an equivalent of the Size field.
- //
- // Deprecated: Unused in API 1.43 and up, but kept for backward compatibility with older API versions.
+ // Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
VirtualSize int64 `json:"VirtualSize,omitempty"`
// GraphDriver holds information about the storage driver used to store the