From 7d4bd05dcea3f8343adf4684bc369a93e32bfa68 Mon Sep 17 00:00:00 2001 From: Oliver Palmer Date: Wed, 16 Oct 2024 17:29:36 -0400 Subject: [PATCH] fix lint --- pkg/stash/with_redis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/stash/with_redis.go b/pkg/stash/with_redis.go index 8fa34c4da..2bce68e18 100644 --- a/pkg/stash/with_redis.go +++ b/pkg/stash/with_redis.go @@ -32,11 +32,11 @@ func getRedisClientOptions(endpoint string, password string) (*redis.Options, er // which passed in arguments. options, err := redis.ParseURL(endpoint) if err != nil { - return &redis.Options{ + return &redis.Options{ //nolint:nilerr // We are specifically falling back here and ignoring the error on purpose. Network: "tcp", Addr: endpoint, Password: password, - }, nil //nolint: nilerr + }, nil } // Ensure the password is either empty or that it matches the password