diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-07-29 00:07:21 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-07-30 17:26:08 +0200 |
commit | 68cf116110ac478443fbc0208be04709604f7077 (patch) | |
tree | ee32b5561a1c5902b9b58f72ea0c8ccb8b4a8d82 /cmd/podman | |
parent | 02f570e4bde9534392040b57f5f3cbcca2235b54 (diff) | |
download | podman-68cf116110ac478443fbc0208be04709604f7077.tar.gz podman-68cf116110ac478443fbc0208be04709604f7077.tar.bz2 podman-68cf116110ac478443fbc0208be04709604f7077.zip |
Use signByFlagName instead of copy&pasting the string
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'cmd/podman')
-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") |