summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-01 21:29:46 +0200
committerGitHub <noreply@github.com>2020-05-01 21:29:46 +0200
commit54fa377faf89b27183a789bd98084ea02c4cd4a1 (patch)
treefec221fe6c3ff576b4f96112ed4798155b321615 /cmd
parentbffd3f5134b6c64dc53b7713bd064a9edd3ee466 (diff)
parent1eba4fbc437dca5fe10f990a9c22fc9794a945ef (diff)
downloadpodman-54fa377faf89b27183a789bd98084ea02c4cd4a1.tar.gz
podman-54fa377faf89b27183a789bd98084ea02c4cd4a1.tar.bz2
podman-54fa377faf89b27183a789bd98084ea02c4cd4a1.zip
Merge pull request #6061 from QiWang19/getlogin
check --get-login when login
Diffstat (limited to 'cmd')
-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])
}