diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-07-29 00:07:21 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-08-02 16:52:56 +0200 |
commit | b2b3edaca0ae0a1490c8f6f62b7701fd3e8b35db (patch) | |
tree | d931887d59aacd761a70f53a9ec3db0910c19fde /cmd/podman/images | |
parent | 49d40293b449bb5a2c1fec202f7f0073a8ea6e0b (diff) | |
download | podman-b2b3edaca0ae0a1490c8f6f62b7701fd3e8b35db.tar.gz podman-b2b3edaca0ae0a1490c8f6f62b7701fd3e8b35db.tar.bz2 podman-b2b3edaca0ae0a1490c8f6f62b7701fd3e8b35db.zip |
Use signByFlagName instead of copy&pasting the string
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r-- | cmd/podman/images/push.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/push.go b/cmd/podman/images/push.go index 1b3419014..764936426 100644 --- a/cmd/podman/images/push.go +++ b/cmd/podman/images/push.go @@ -117,7 +117,7 @@ func pushFlags(cmd *cobra.Command) { _ = flags.MarkHidden("compress") _ = flags.MarkHidden("digestfile") _ = flags.MarkHidden("quiet") - _ = flags.MarkHidden("sign-by") + _ = flags.MarkHidden(signByFlagName) } if !registry.IsRemote() { flags.StringVar(&pushOptions.SignaturePolicy, "signature-policy", "", "Path to a signature-policy file") |