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")
|
skipVerify := !c.BoolT("tls-verify")
|
||||||
removeSignatures := c.Bool("remove-signatures")
|
removeSignatures := c.Bool("remove-signatures")
|
||||||
signBy := c.String("sign-by")
|
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 != "" {
|
if registryCredsString != "" {
|
||||||
creds, err := common.ParseRegistryCreds(registryCredsString)
|
creds, err := common.ParseRegistryCreds(registryCredsString)
|
||||||
|
@ -106,7 +104,7 @@ func pushCmd(c *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
options := libkpodimage.CopyOptions{
|
options := libkpodimage.CopyOptions{
|
||||||
Compression: compress,
|
Compression: archive.Uncompressed,
|
||||||
SignaturePolicyPath: signaturePolicy,
|
SignaturePolicyPath: signaturePolicy,
|
||||||
Store: store,
|
Store: store,
|
||||||
DockerRegistryOptions: common.DockerRegistryOptions{
|
DockerRegistryOptions: common.DockerRegistryOptions{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue