Explorar o código

Merge pull request #2272 from porter-dev/master

Valid cluster id -> staging
abelanger5 %!s(int64=3) %!d(string=hai) anos
pai
achega
363bd7db11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/models/integrations/aws.go

+ 1 - 1
internal/models/integrations/aws.go

@@ -133,7 +133,7 @@ func (a *AWSIntegration) GetBearerToken(
 	if shouldClusterIdOverride {
 		validClusterId = clusterID
 	} else {
-		validClusterId := string(a.AWSClusterID)
+		validClusterId = string(a.AWSClusterID)
 
 		if validClusterId == "" {
 			validClusterId = clusterID