diff options
author | Jhon Honce <jhonce@redhat.com> | 2022-05-25 08:18:46 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2022-05-25 08:50:12 -0700 |
commit | 338f0123706f31721e89c2e6223c7c493b577dc7 (patch) | |
tree | ed04ffc226c357f5564f57c654ab9f364155da39 /pkg/domain/entities | |
parent | dbd4ee04b8dca865e6001d94565755fae60089c9 (diff) | |
download | podman-338f0123706f31721e89c2e6223c7c493b577dc7.tar.gz podman-338f0123706f31721e89c2e6223c7c493b577dc7.tar.bz2 podman-338f0123706f31721e89c2e6223c7c493b577dc7.zip |
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 <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/types.go | 7 |
1 files changed, 3 insertions, 4 deletions
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 |