From 732ece6ae264ea04a8ab8775275ce75432a35fcb Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Tue, 20 Jul 2021 12:20:43 +0200 Subject: 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 --- cmd/podman/login.go | 1 + cmd/podman/logout.go | 1 + 2 files changed, 2 insertions(+) (limited to 'cmd/podman') 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. -- cgit v1.2.3-54-g00ecf