Ver código fonte

use int first API consistently

AjayTripathy 6 anos atrás
pai
commit
f231b1e2ff
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      pkg/cloud/csvprovider.go

+ 1 - 1
pkg/cloud/csvprovider.go

@@ -139,7 +139,7 @@ func (c *CSVProvider) DownloadPricingData() error {
 		c.Pricing = pricing
 		c.Pricing = pricing
 		c.PricingPV = pvpricing
 		c.PricingPV = pvpricing
 	} else {
 	} else {
-		log.DedupedWarningf("No data received from csv at %s", 5, c.CSVLocation)
+		log.DedupedWarningf(5, "No data received from csv at %s", c.CSVLocation)
 	}
 	}
 	time.AfterFunc(refreshMinutes*time.Minute, func() { c.DownloadPricingData() })
 	time.AfterFunc(refreshMinutes*time.Minute, func() { c.DownloadPricingData() })
 	return nil
 	return nil