diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-01 11:25:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 11:25:17 +0000 |
commit | 42442887166954ac1cf54c0ce6c45475f37e69ec (patch) | |
tree | 061a1cb9f095a0b4e2ca58a5e23a05b90f0aa2cd /cmd | |
parent | 5733cd222e8e268f61650ff8e52082afb39b8f04 (diff) | |
parent | 732ece6ae264ea04a8ab8775275ce75432a35fcb (diff) | |
download | podman-42442887166954ac1cf54c0ce6c45475f37e69ec.tar.gz podman-42442887166954ac1cf54c0ce6c45475f37e69ec.tar.bz2 podman-42442887166954ac1cf54c0ce6c45475f37e69ec.zip |
Merge pull request #11054 from saschagrunert/login-logout-path-tests
Add `--accept-repositories` integration tests
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/login.go | 1 | ||||
-rw-r--r-- | cmd/podman/logout.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/login.go b/cmd/podman/login.go index a8dadf5cd..7e853b38d 100644 --- a/cmd/podman/login.go +++ b/cmd/podman/login.go @@ -52,6 +52,7 @@ func init() { loginOptions.Stdin = os.Stdin loginOptions.Stdout = os.Stdout loginOptions.AcceptUnspecifiedRegistry = true + loginOptions.AcceptRepositories = true } // Implementation of podman-login. diff --git a/cmd/podman/logout.go b/cmd/podman/logout.go index 0ee134635..f44b13a1f 100644 --- a/cmd/podman/logout.go +++ b/cmd/podman/logout.go @@ -43,6 +43,7 @@ func init() { logoutOptions.Stdout = os.Stdout logoutOptions.AcceptUnspecifiedRegistry = true + logoutOptions.AcceptRepositories = true } // Implementation of podman-logout. |