Lint: Fix error caused by stupid linter

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-04-02 16:12:03 +02:00
parent 60abc308fb
commit 9d1ede2b1e
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -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")