Skip to content

Commit a5b8dca

Browse files
committed
Remove unnecessary comments
1 parent 0254654 commit a5b8dca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/otel-allocator/allocation/per_node_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,9 @@ func TestAllocationPerNodeUsingFallback(t *testing.T) {
154154
// verify allocation to nodes
155155
for targetHash, item := range targetList {
156156
actualItem, found := actualItems[targetHash]
157-
// if third target, should be allocated by the fallback strategy
157+
158158
assert.True(t, found, "target with hash %s not found", item.Hash())
159159

160-
// only the first two targets should be allocated
161160
itemsForCollector := s.GetTargetsForCollectorAndJob(actualItem.CollectorName, actualItem.JobName)
162161

163162
// first two should be assigned one to each collector; if third target, it should be assigned

0 commit comments

Comments
 (0)