Browse Source

fix log format error

Matt Bolt 1 year ago
parent
commit
84ae97025e
1 changed files with 1 additions and 1 deletions
  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{}
 					err = dec.Decode(&offerTerm)
 					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)]