From 1eba4fbc437dca5fe10f990a9c22fc9794a945ef Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 1 May 2020 11:24:49 -0400 Subject: 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 --- cmd/podman/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) } -- cgit v1.2.3-54-g00ecf