Skip to content

Commit d48004e

Browse files
author
Mikhail Podtserkovskiy
committed
QA-7710: add comments
1 parent 82512d1 commit d48004e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pool/node.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ const (
1818
)
1919

2020
type Node struct {
21+
// A unique key, by which we understand how to find this object in the outer world + for not adding the second time the same thing.
22+
// The value may depend on the strategy:
23+
// - for constant nodes ip: port
24+
// - for temporary pod.name
2125
Key string
2226
Type NodeType
2327
Address string

0 commit comments

Comments
 (0)