From 9d1ede2b1e152e1302cad07733c26c27f0678e6e Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 2 Apr 2024 16:12:03 +0200 Subject: [PATCH] Lint: Fix error caused by stupid linter Signed-off-by: Knut Ahlers --- status.go | 1 + 1 file changed, 1 insertion(+) diff --git a/status.go b/status.go index 413e8ce..8453619 100644 --- a/status.go +++ b/status.go @@ -80,6 +80,7 @@ func handleStatusRequest(w http.ResponseWriter, r *http.Request) { { Name: "Twitch Client Authorized", Description: "Twitch Client is authorized and can fetch authorized user", + //nolint:contextcheck // Check is too stupid to see the context IS passed checkFn: func() error { if twitchClient == nil { return errors.New("not initialized")