mirror of https://github.com/containers/podman.git
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>
This commit is contained in:
parent
49107a5a2e
commit
1eba4fbc43
|
@ -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])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue