summaryrefslogtreecommitdiff
path: root/cmd/podman/images/push.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2022-07-29 00:07:21 +0200
committerMiloslav Trmač <mitr@redhat.com>2022-07-30 17:26:08 +0200
commit68cf116110ac478443fbc0208be04709604f7077 (patch)
treeee32b5561a1c5902b9b58f72ea0c8ccb8b4a8d82 /cmd/podman/images/push.go
parent02f570e4bde9534392040b57f5f3cbcca2235b54 (diff)
downloadpodman-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/images/push.go')
-rw-r--r--cmd/podman/images/push.go2
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")