diff options
author | Sascha Grunert <sgrunert@redhat.com> | 2021-07-20 12:20:43 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@redhat.com> | 2021-07-30 14:53:55 +0200 |
commit | 732ece6ae264ea04a8ab8775275ce75432a35fcb (patch) | |
tree | 9001e6eb494b137e788ad076fe202bf3fad647ca /cmd | |
parent | a5de8314188d7376f645d8ac6c6f7a6f685b6a45 (diff) | |
download | podman-732ece6ae264ea04a8ab8775275ce75432a35fcb.tar.gz podman-732ece6ae264ea04a8ab8775275ce75432a35fcb.tar.bz2 podman-732ece6ae264ea04a8ab8775275ce75432a35fcb.zip |
Add `--accept-repositories` integration tests
This adds the integration tests for the repository or namespaced
registry feature introduced in c/common.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
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. |