diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 12:35:21 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 12:35:21 +0200 |
| commit | 9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 (patch) | |
| tree | 10b0bd88547c366b05404419b9e7dee1b1a1e270 /internal/api/cache.go | |
| parent | cd4e5a23852ca5f9af7f66f1daa9dfbf7d8e7376 (diff) | |
All: Fix staticcheck errors
Diffstat (limited to 'internal/api/cache.go')
| -rw-r--r-- | internal/api/cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/cache.go b/internal/api/cache.go index 9a478df..5c682f4 100644 --- a/internal/api/cache.go +++ b/internal/api/cache.go @@ -16,7 +16,7 @@ type EndpointCache struct { mu sync.Mutex } -// Get() returns a cached or fresh endpoint cache copy +// Get returns a cached or fresh endpoint cache copy func (ec *EndpointCache) Get(ctx context.Context, wk string, transport http.RoundTripper) (*endpoints.Endpoints, error) { ec.mu.Lock() defer ec.mu.Unlock() |
