瀏覽代碼

make sure valid cluster id isn't overwritten

Alexander Belanger 4 年之前
父節點
當前提交
d4e5729298
共有 1 個文件被更改,包括 1 次插入1 次删除
  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