From 0c92ccfa2120fd0cf687061f10a68806d52192c3 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 17 Oct 2018 16:13:32 +1100 Subject: [PATCH] config: don't warn user of limited APIKey level for default forex provider --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index a849d82a..6ec4a155 100644 --- a/config/config.go +++ b/config/config.go @@ -828,7 +828,7 @@ func (c *Config) CheckCurrencyConfigValues() error { c.Currency.ForexProviders[i].PrimaryProvider = false continue } - if c.Currency.ForexProviders[i].APIKeyLvl == -1 { + if c.Currency.ForexProviders[i].APIKeyLvl == -1 && c.Currency.ForexProviders[i].Name != "CurrencyConverter" { log.Printf("WARNING -- %s APIKey Level not set, functions limited. Please set this in your config.json file", c.Currency.ForexProviders[i].Name) }