Parcourir la source

fix log format error

Matt Bolt il y a 1 an
Parent
commit
84ae97025e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg/cloud/aws/provider.go

+ 1 - 1
pkg/cloud/aws/provider.go

@@ -1088,7 +1088,7 @@ func (aws *AWS) populatePricing(resp *http.Response, inputkeys map[string]bool)
 					offerTerm := &AWSOfferTerm{}
 					offerTerm := &AWSOfferTerm{}
 					err = dec.Decode(&offerTerm)
 					err = dec.Decode(&offerTerm)
 					if err != nil {
 					if err != nil {
-						log.Errorf("Error decoding AWS Offer Term: " + err.Error())
+						log.Errorf("Error decoding AWS Offer Term: %s", err.Error())
 					}
 					}
 
 
 					key, ok := skusToKeys[sku.(string)]
 					key, ok := skusToKeys[sku.(string)]