From 689555ef3ab5d90d5cc4c1610a5ca90d0c1a88fb Mon Sep 17 00:00:00 2001 From: pushthat Date: Wed, 22 Aug 2018 11:21:59 +0200 Subject: [PATCH] Update get-login.go Remove -e option on login --- cmd/ecr/get-login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ecr/get-login.go b/cmd/ecr/get-login.go index 4f10d38..f29d4de 100644 --- a/cmd/ecr/get-login.go +++ b/cmd/ecr/get-login.go @@ -60,7 +60,7 @@ NOTE: return fmt.Errorf("authorization token is invalid format. [%s]", encoded) } - loginCommand := fmt.Sprintf("docker login -u %s -p %s -e none %s", tokens[0], tokens[1], *target.ProxyEndpoint) + loginCommand := fmt.Sprintf("docker login -u %s -p %s %s", tokens[0], tokens[1], *target.ProxyEndpoint) fmt.Println(loginCommand) return nil },