Add protogetter linter and fix warnings #260

Closed
opened 2024-08-26 20:47:30 +00:00 by fyrchik · 0 comments
Owner
pool/tree/pool.go:363:26  protogetter  avoid direct access to proto field resp.Body.Nodes, use resp.GetBody().GetNodes() instead
pool/tree/pool.go:392:12  protogetter  avoid direct access to proto field resp.Body, use resp.GetBody() instead
pool/tree/pool.go:408:21  protogetter  avoid direct access to proto field resp.Body, use resp.GetBody() instead
pool/tree/pool.go:424:9   protogetter  avoid direct access to proto field resp.Body, use resp.GetBody() instead
pool/tree/pool.go:538:16  protogetter  avoid direct access to proto field body.Nodes, use body.GetNodes() instead
pool/tree/pool.go:543:9   protogetter  avoid direct access to proto field body.Nodes, use body.GetNodes() instead
``` pool/tree/pool.go:363:26 protogetter avoid direct access to proto field resp.Body.Nodes, use resp.GetBody().GetNodes() instead pool/tree/pool.go:392:12 protogetter avoid direct access to proto field resp.Body, use resp.GetBody() instead pool/tree/pool.go:408:21 protogetter avoid direct access to proto field resp.Body, use resp.GetBody() instead pool/tree/pool.go:424:9 protogetter avoid direct access to proto field resp.Body, use resp.GetBody() instead pool/tree/pool.go:538:16 protogetter avoid direct access to proto field body.Nodes, use body.GetNodes() instead pool/tree/pool.go:543:9 protogetter avoid direct access to proto field body.Nodes, use body.GetNodes() instead ```
fyrchik added the
good first issue
internal
labels 2024-08-27 08:12:41 +00:00
a-savchuk was assigned by fyrchik 2024-09-03 14:12:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-sdk-go#260
No description provided.