From 25644d061e9221cd958204caa2e8a96e11c83bd9 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Tue, 19 Jan 2021 14:20:57 +0000 Subject: [PATCH] Fix build (lint error) --- cmd/gluetun/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/gluetun/main.go b/cmd/gluetun/main.go index a4a77cc3..6d5f2a57 100644 --- a/cmd/gluetun/main.go +++ b/cmd/gluetun/main.go @@ -411,7 +411,8 @@ func routeReadyEvents(ctx context.Context, wg *sync.WaitGroup, buildInfo models. restartTickerCancel() // stop previous restart tickers tickerWg.Wait() restartTickerContext, restartTickerCancel = context.WithCancel(ctx) - tickerWg.Add(2) //nolint:gomnd + //nolint:gomnd + tickerWg.Add(2) go unboundLooper.RunRestartTicker(restartTickerContext, tickerWg) go updaterLooper.RunRestartTicker(restartTickerContext, tickerWg) vpnDestination, err := routing.VPNDestinationIP()