Bianca Burtoiu 4 лет назад
Родитель
Сommit
342aab0d03
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/cloud/awsprovider.go

+ 1 - 1
pkg/cloud/awsprovider.go

@@ -781,7 +781,7 @@ func (aws *AWS) DownloadPricingData() error {
 
 
 	aws.ConfigureAuthWith(c) // load aws authentication from configuration or secret
 	aws.ConfigureAuthWith(c) // load aws authentication from configuration or secret
 
 
-	// Need valid values for at least one of the three fields to consider spot pricing enabled
+	// Need a valid value for at least one of these fields to consider spot pricing as enabled
 	if len(aws.SpotDataBucket) != 0 || len(aws.SpotDataRegion) != 0 || len(aws.ProjectID) != 0 {
 	if len(aws.SpotDataBucket) != 0 || len(aws.SpotDataRegion) != 0 || len(aws.ProjectID) != 0 {
 		aws.SpotRefreshEnabled = true
 		aws.SpotRefreshEnabled = true
 	} else {
 	} else {