Remove compress variable
No reason to carry this temporary variable for documentation purposes. If in the future we find that it is necessary to add a CLI option, we can add the variable then. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
865612c3db
commit
e48f7a3491
1 changed files with 1 additions and 3 deletions
|
@ -76,8 +76,6 @@ func pushCmd(c *cli.Context) error {
|
|||
skipVerify := !c.BoolT("tls-verify")
|
||||
removeSignatures := c.Bool("remove-signatures")
|
||||
signBy := c.String("sign-by")
|
||||
// Leave this here in case we want to add a compression option in the future
|
||||
compress := archive.Uncompressed
|
||||
|
||||
if registryCredsString != "" {
|
||||
creds, err := common.ParseRegistryCreds(registryCredsString)
|
||||
|
@ -106,7 +104,7 @@ func pushCmd(c *cli.Context) error {
|
|||
}
|
||||
|
||||
options := libkpodimage.CopyOptions{
|
||||
Compression: compress,
|
||||
Compression: archive.Uncompressed,
|
||||
SignaturePolicyPath: signaturePolicy,
|
||||
Store: store,
|
||||
DockerRegistryOptions: common.DockerRegistryOptions{
|
||||
|
|
Loading…
Add table
Reference in a new issue