Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Sep 8, 2023
1 parent 7bf66fd commit 60f627f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion director/origin_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 60f627f

Please sign in to comment.