We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b43353 commit 10f604eCopy full SHA for 10f604e
1 file changed
pkg/middleware/readiness/readiness.go
@@ -47,9 +47,9 @@ type Gate struct {
47
sfGroup singleflight.Group
48
49
mu sync.RWMutex
50
- cachedReady bool
51
- cachedMessage string
52
- cacheTime time.Time
+ cachedReady bool // GUARDED_BY(mu)
+ cachedMessage string // GUARDED_BY(mu)
+ cacheTime time.Time // GUARDED_BY(mu)
53
}
54
55
// NewGate creates a new readiness gate with the given checker.
0 commit comments