This commit is contained in:
Vladislav Yarmak
2021-04-02 00:46:17 +03:00
parent ed153de1d0
commit ddc27f34ab
3 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ func run() int {
}
cl()
runTicker(context.Background(), args.refresh, func (ctx context.Context) {
runTicker(context.Background(), args.refresh, func(ctx context.Context) {
mainLogger.Info("Refreshing login...")
loginCtx, cl := context.WithTimeout(ctx, args.timeout)
defer cl()