Jelajahi Sumber

finish merge

Ajay Tripathy 5 tahun lalu
induk
melakukan
8583d86f9c
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 3
      pkg/cloud/awsprovider.go

+ 1 - 3
pkg/cloud/awsprovider.go

@@ -70,10 +70,8 @@ func (aws *AWS) PricingSourceStatus() map[string]*PricingSource {
 	rps.Error = aws.RIPricingStatus
 	if rps.Error != "" {
 		rps.Available = false
-	} else if len(aws.RIPricingByInstanceID) > 0 {
-		rps.Available = true
 	} else {
-		rps.Error = "No reserved instances detected"
+		rps.Available = true
 	}
 	sources[ReservedInstancePricingSource] = rps
 	return sources