Explorar el Código

Merge pull request #2271 from porter-dev/belanger/add-separate-aws-cluster-name

Make sure valid AWS cluster id is set for kube client
abelanger5 hace 3 años
padre
commit
ef1c45b3aa
Se han modificado 1 ficheros con 1 adiciones y 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 {
 	if shouldClusterIdOverride {
 		validClusterId = clusterID
 		validClusterId = clusterID
 	} else {
 	} else {
-		validClusterId := string(a.AWSClusterID)
+		validClusterId = string(a.AWSClusterID)
 
 
 		if validClusterId == "" {
 		if validClusterId == "" {
 			validClusterId = clusterID
 			validClusterId = clusterID