Compare commits

...

1 Commits

Author SHA1 Message Date
Mathias Fredriksson 1d589b2c0d fix(enterprise): handle ignored singleflight error in wsproxy
Log the singleflight error from entitlement refresh at warn level
instead of assigning it to a blank identifier.
2026-03-09 18:21:58 +00:00
+1 -1
View File
@@ -535,7 +535,7 @@ func pingSiblingReplicas(ctx context.Context, logger slog.Logger, sf *singleflig
slices.Sort(relayURLs)
singleflightStr := strings.Join(relayURLs, " ") // URLs can't contain spaces.
//nolint:dogsled
//nolint:dogsled,errcheck // Error is encoded into the return value.
errStrInterface, _, _ := sf.Do(singleflightStr, func() (any, error) {
client := http.Client{
Timeout: 3 * time.Second,