Skip to content

Commit f8b3947

Browse files
authored
Remove comments that doesn't seem right (#3361)
Signed-off-by: Alvin Lin <[email protected]>
1 parent 99c9d6a commit f8b3947

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/distributor/ha_tracker.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,6 @@ func replicasNotMatchError(replica, elected string) error {
273273
return httpgrpc.Errorf(http.StatusAccepted, "replicas did not mach, rejecting sample: replica=%s, elected=%s", replica, elected)
274274
}
275275

276-
// Modifies the labels parameter in place, removing labels that match
277-
// the replica or cluster label and returning their values. Returns an error
278-
// if we find one but not both of the labels.
279276
func findHALabels(replicaLabel, clusterLabel string, labels []client.LabelAdapter) (string, string) {
280277
var cluster, replica string
281278
var pair client.LabelAdapter

0 commit comments

Comments
 (0)