summaryrefslogtreecommitdiff
path: root/cmd/podman/login.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-05-01 11:24:49 -0400
committerQi Wang <qiwan@redhat.com>2020-05-01 11:27:22 -0400
commit1eba4fbc437dca5fe10f990a9c22fc9794a945ef (patch)
tree044dd804784dfb5cd3d6eba4a717d7a079aa6041 /cmd/podman/login.go
parent49107a5a2ee98793b4ecfaa0e1a6cacfdf5ccdd0 (diff)
downloadpodman-1eba4fbc437dca5fe10f990a9c22fc9794a945ef.tar.gz
podman-1eba4fbc437dca5fe10f990a9c22fc9794a945ef.tar.bz2
podman-1eba4fbc437dca5fe10f990a9c22fc9794a945ef.zip
check --get-login when login
Check --get-login is set in podman since it is not shared option from c/common and does not valid by the package. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd/podman/login.go')
-rw-r--r--cmd/podman/login.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/login.go b/cmd/podman/login.go
index 9de805d15..dc57758ab 100644
--- a/cmd/podman/login.go
+++ b/cmd/podman/login.go
@@ -63,6 +63,6 @@ func login(cmd *cobra.Command, args []string) error {
DockerCertPath: loginOptions.CertDir,
DockerInsecureSkipTLSVerify: skipTLS,
}
-
+ loginOptions.GetLoginSet = cmd.Flag("get-login").Changed
return auth.Login(context.Background(), &sysCtx, &loginOptions.LoginOptions, args[0])
}