Skip to content

Commit b588b87

Browse files
committed
Reword comment for clarity
1 parent eb3d562 commit b588b87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: tests/fixture/tmpnet/node_process.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ func (p *NodeProcess) getProcess() (*os.Process, error) {
247247
func (p *NodeProcess) writeMonitoringConfig() error {
248248
// Ensure labeling that uniquely identifies the node and its network
249249
commonLabels := FlagsMap{
250-
// Explicitly setting a instance label avoids the use of the
251-
// node's URI which may change on restart and preclude the
252-
// continuity of collected metrics.
250+
// Explicitly setting an instance label avoids the default
251+
// behavior of using the node's URI since the URI isn't
252+
// guaranteed stable (e.g. port may change after restart).
253253
"instance": p.node.GetUniqueID(),
254254
"network_uuid": p.node.NetworkUUID,
255255
"node_id": p.node.NodeID,

0 commit comments

Comments
 (0)