From 338f0123706f31721e89c2e6223c7c493b577dc7 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 25 May 2022 08:18:46 -0700 Subject: Remove unused archive flag from diff commands * Option left in images/diff.go CLI as comment implies it is needed for backwards compatibility. ```release-note NONE ``` [NO NEW TESTS NEEDED] Signed-off-by: Jhon Honce --- pkg/domain/entities/types.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pkg') diff --git a/pkg/domain/entities/types.go b/pkg/domain/entities/types.go index 5ae8a4931..3e6e54e7d 100644 --- a/pkg/domain/entities/types.go +++ b/pkg/domain/entities/types.go @@ -78,10 +78,9 @@ type InspectOptions struct { // DiffOptions all API and CLI diff commands and diff sub-commands use the same options type DiffOptions struct { - Format string `json:",omitempty"` // CLI only - Latest bool `json:",omitempty"` // API and CLI, only supported by containers - Archive bool `json:",omitempty"` // CLI only - Type define.DiffType // Type which should be compared + Format string `json:",omitempty"` // CLI only + Latest bool `json:",omitempty"` // API and CLI, only supported by containers + Type define.DiffType // Type which should be compared } // DiffReport provides changes for object -- cgit v1.2.3-54-g00ecf