2
0
Эх сурвалжийг харах

make sure valid cluster id isn't overwritten

Alexander Belanger 4 жил өмнө
parent
commit
d4e5729298

+ 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