mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
Fix incorrect variable usage (err -> errNTP)
This commit is contained in:
2
main.go
2
main.go
@@ -120,7 +120,7 @@ func main() {
|
||||
if bot.config.NTPClient.Level == 0 {
|
||||
disable, errNTP := bot.config.DisableNTPCheck(os.Stdin)
|
||||
if errNTP != nil {
|
||||
log.Errorf("failed to disable ntp time check reason: %v", err)
|
||||
log.Errorf("failed to disable ntp time check reason: %v", errNTP)
|
||||
} else {
|
||||
log.Info(disable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user