From 60f627fecb76f7bd35a7e5ac1772b1a1695b0450 Mon Sep 17 00:00:00 2001 From: Justin Hiemstra Date: Fri, 8 Sep 2023 15:25:10 +0000 Subject: [PATCH] Fix linter errors --- director/origin_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/director/origin_api.go b/director/origin_api.go index 6213c9ea0..321438495 100644 --- a/director/origin_api.go +++ b/director/origin_api.go @@ -108,7 +108,7 @@ func VerifyAdvertiseToken(token, namespace string) (bool, error) { // defer statements are scoped to function, not lexical enclosure, // which is why we wrap these defer statements in anon funcs - func () { + func() { namespaceKeysMutex.RLock() defer namespaceKeysMutex.RUnlock() item := namespaceKeys.Get(namespace)