Skip to content

Commit 86e9ccb

Browse files
committed
Improve comment for {Controller,Node}Client
1 parent 42186b3 commit 86e9ccb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkg/sanity/cleanup.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ type VolumeInfo struct {
4747
// All methods can be called concurrently.
4848
type Cleanup struct {
4949
Context *TestContext
50-
// ControllerClient is meant for struct-internal use only
50+
// ControllerClient is meant for struct-internal usage. It should only be
51+
// invoked directly if automatic cleanup is not desired and cannot be
52+
// avoided otherwise.
5153
csi.ControllerClient
52-
// NodeClient is meant for struct-internal use only
54+
// NodeClient is meant for struct-internal usage. It should only be invoked
55+
// directly if automatic cleanup is not desired and cannot be avoided
56+
// otherwise.
5357
csi.NodeClient
5458
ControllerPublishSupported bool
5559
NodeStageSupported bool

0 commit comments

Comments
 (0)