Просмотр исходного кода

Merge branch 'bolt/remote-config' of github.com:kubecost/cost-model into bolt/remote-config

Matt Bolt 4 лет назад
Родитель
Сommit
cc8c42d653
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/cloud/providerconfig.go

+ 1 - 1
pkg/cloud/providerconfig.go

@@ -61,7 +61,7 @@ func (pc *ProviderConfig) onConfigFileUpdated(changeType config.ChangeType, data
 		customPricing := new(CustomPricing)
 		err := json.Unmarshal(data, customPricing)
 		if err != nil {
-			klog.Infof("Could not decode Custom Pricing file at path %s", pc.configFile.Path())
+			klog.Infof("Could not decode Custom Pricing file at path %s. Using default.", pc.configFile.Path())
 			customPricing = DefaultPricing()
 		}