Skip to content

Commit 2585102

Browse files
committed
Fixed typo in comment
Signed-off-by: Marco Pracucci <[email protected]>
1 parent 7118e06 commit 2585102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ring/ring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ func (r *Ring) GetInstanceState(instanceID string) (IngesterState, error) {
479479
return instance.GetState(), nil
480480
}
481481

482-
// Includes returns whether the ring includes the instance with the provided instanceID.
482+
// HasInstance returns whether the ring contains an instance matching the provided instanceID.
483483
func (r *Ring) HasInstance(instanceID string) bool {
484484
r.mtx.RLock()
485485
defer r.mtx.RUnlock()

0 commit comments

Comments
 (0)