From 44a92552393565ebe70b5d65bfa9c8b87d78bc8d Mon Sep 17 00:00:00 2001 From: dakimura <34202807+dakimura@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:24:22 +0900 Subject: [PATCH] fix: minor logging fix (#619) --- contrib/alpacabkfeeder/alpacav2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/alpacabkfeeder/alpacav2.go b/contrib/alpacabkfeeder/alpacav2.go index a4d73a68..08ed4855 100644 --- a/contrib/alpacabkfeeder/alpacav2.go +++ b/contrib/alpacabkfeeder/alpacav2.go @@ -64,13 +64,13 @@ func NewBgWorker(conf map[string]interface{}) (bgworker.BgWorker, error) { sm = symbols.NewJSONFileManager(&http.Client{Timeout: getJSONFileTimeout}, config.StocksJSONURL, config.StocksJSONBasicAuth, ) + log.Info("updating symbols using a remote json file.") } sm.UpdateSymbols() if config.SymbolsUpdateTime.IsZero() { config.SymbolsUpdateTime = config.UpdateTime } timer.RunEveryDayAt(ctx, config.SymbolsUpdateTime, sm.UpdateSymbols) - log.Info("updated symbols using a remote json file.") // init BarWriter var bw writer.BarWriter = writer.BarWriterImpl{