Explorar o código

fix ecr token requests for multi-account

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
da5d6f2015
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      api/server/handlers/registry/get_token.go

+ 2 - 0
api/server/handlers/registry/get_token.go

@@ -98,6 +98,8 @@ func (c *RegistryGetECRTokenHandler) ServeHTTP(w http.ResponseWriter, r *http.Re
 
 				token = *output.AuthorizationData[0].AuthorizationToken
 				expiresAt = output.AuthorizationData[0].ExpiresAt
+
+				break
 			}
 		}
 	}