Skip to content

Commit 6f757c3

Browse files
committed
Add period to test comments
1 parent ea6e956 commit 6f757c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/otel-allocator/allocation/per_node_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func GetTargetsWithNodeName(targets []*target.Item) (targetsWithNodeName []*targ
3636
}
3737

3838
// Tests that four targets, with one of them lacking node labels, are assigned except for the
39-
// target that lacks node labels
39+
// target that lacks node labels.
4040
func TestAllocationPerNode(t *testing.T) {
4141
// prepare allocator with initial targets and collectors
4242
s, _ := New("per-node", loggerPerNode)
@@ -103,7 +103,7 @@ func TestAllocationPerNode(t *testing.T) {
103103
}
104104
}
105105

106-
// Tests that four targets, with one of them missing node labels, are all assigned
106+
// Tests that four targets, with one of them missing node labels, are all assigned.
107107
func TestAllocationPerNodeUsingFallback(t *testing.T) {
108108
// prepare allocator with initial targets and collectors
109109
s, _ := New("per-node", loggerPerNode, WithFallbackStrategy(consistentHashingStrategyName))

0 commit comments

Comments
 (0)