Skip to content

Commit 5bf2c6a

Browse files
AnishShahAxeZhan
andauthored
fix Go comments
Co-authored-by: Sheng Zhan <[email protected]>
1 parent 73f7c19 commit 5bf2c6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/framework/node/helper.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func IsARM64(node *v1.Node) bool {
180180
return false
181181
}
182182

183-
// patchNode sends a patch request to update k8s Node resource.
183+
// patchNode sends a patch request to update the Node.
184184
func patchNode(ctx context.Context, client clientset.Interface, old *v1.Node, new *v1.Node) error {
185185
oldData, err := json.Marshal(old)
186186
if err != nil {
@@ -199,7 +199,7 @@ func patchNode(ctx context.Context, client clientset.Interface, old *v1.Node, ne
199199
return err
200200
}
201201

202-
// AddExtendedResource adds a fake resource to k8s Node status.
202+
// AddExtendedResource adds a fake resource to the Node.
203203
func AddExtendedResource(ctx context.Context, clientSet clientset.Interface, nodeName string, extendedResourceName v1.ResourceName, extendedResourceQuantity resource.Quantity) {
204204
extendedResource := v1.ResourceName(extendedResourceName)
205205

@@ -229,7 +229,7 @@ func AddExtendedResource(ctx context.Context, clientSet clientset.Interface, nod
229229
}).WithTimeout(30 * time.Second).WithPolling(time.Second).ShouldNot(gomega.HaveOccurred())
230230
}
231231

232-
// RemoveExtendedResource removes a fake resource to k8s Node status.
232+
// RemoveExtendedResource removes a fake resource from the Node.
233233
func RemoveExtendedResource(ctx context.Context, clientSet clientset.Interface, nodeName string, extendedResourceName v1.ResourceName) {
234234
extendedResource := v1.ResourceName(extendedResourceName)
235235

0 commit comments

Comments
 (0)