@@ -180,7 +180,7 @@ func IsARM64(node *v1.Node) bool {
180
180
return false
181
181
}
182
182
183
- // patchNode sends a patch request to update k8s Node resource .
183
+ // patchNode sends a patch request to update the Node.
184
184
func patchNode (ctx context.Context , client clientset.Interface , old * v1.Node , new * v1.Node ) error {
185
185
oldData , err := json .Marshal (old )
186
186
if err != nil {
@@ -199,7 +199,7 @@ func patchNode(ctx context.Context, client clientset.Interface, old *v1.Node, ne
199
199
return err
200
200
}
201
201
202
- // AddExtendedResource adds a fake resource to k8s Node status .
202
+ // AddExtendedResource adds a fake resource to the Node.
203
203
func AddExtendedResource (ctx context.Context , clientSet clientset.Interface , nodeName string , extendedResourceName v1.ResourceName , extendedResourceQuantity resource.Quantity ) {
204
204
extendedResource := v1 .ResourceName (extendedResourceName )
205
205
@@ -229,7 +229,7 @@ func AddExtendedResource(ctx context.Context, clientSet clientset.Interface, nod
229
229
}).WithTimeout (30 * time .Second ).WithPolling (time .Second ).ShouldNot (gomega .HaveOccurred ())
230
230
}
231
231
232
- // RemoveExtendedResource removes a fake resource to k8s Node status .
232
+ // RemoveExtendedResource removes a fake resource from the Node.
233
233
func RemoveExtendedResource (ctx context.Context , clientSet clientset.Interface , nodeName string , extendedResourceName v1.ResourceName ) {
234
234
extendedResource := v1 .ResourceName (extendedResourceName )
235
235
0 commit comments