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