Skip to content

Commit

Permalink
fix method comment
Browse files Browse the repository at this point in the history
Signed-off-by: googs1025 <[email protected]>
  • Loading branch information
googs1025 committed Aug 11, 2024
1 parent 26a18d7 commit 3e1497d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/rm/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ func (r *resourceManager) Resource() spec.ResourceName {
return r.resource
}

// Resource gets the devices managed by the ResourceManager
// Devices gets the devices managed by the ResourceManager
func (r *resourceManager) Devices() Devices {
return r.devices
}

var errInvalidRequest = errors.New("invalid request")

// ValidateRequests checks the requested IDs against the resource manager configuration.
// ValidateRequest checks the requested IDs against the resource manager configuration.
// It asserts that all requested IDs are known to the resource manager and that the request is
// valid for a specified sharing configuration.
func (r *resourceManager) ValidateRequest(ids AnnotatedIDs) error {
Expand Down

0 comments on commit 3e1497d

Please sign in to comment.