Skip to content

Commit 5798c26

Browse files
authored
Merge pull request #1393 from waltforme/allocate
Correct go doc comment for `func (plugin *nvidiaDevicePlugin) Allocate`
2 parents 4977d42 + f8f495a commit 5798c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/plugin/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ func (plugin *nvidiaDevicePlugin) GetPreferredAllocation(ctx context.Context, r
301301
return response, nil
302302
}
303303

304-
// Allocate which return list of devices.
304+
// Allocate returns a list of devices.
305305
func (plugin *nvidiaDevicePlugin) Allocate(ctx context.Context, reqs *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error) {
306306
responses := pluginapi.AllocateResponse{}
307307
for _, req := range reqs.ContainerRequests {

0 commit comments

Comments
 (0)