Skip to content

Commit

Permalink
Update GetEnvVal docstring
Browse files Browse the repository at this point in the history
As recently the implementation changed
to expose additional device informaiton,
we should align comment to describe new
behaviour.

Signed-off-by: adrianc <adrianc@nvidia.com>
  • Loading branch information
adrianchiris committed Apr 23, 2023
1 parent 2897303 commit d84c60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ type DeviceProvider interface {
type APIDevice interface {
// GetDeviceSpecs returns a list of specs which describes host devices
GetDeviceSpecs() []*pluginapi.DeviceSpec
// GetEnvVal returns environment variable associated with device
// GetEnvVal returns device infromation to be exposed via environment variable
GetEnvVal() map[string]AdditionalInfo
// GetMounts returns a list of host volumes associated with device
GetMounts() []*pluginapi.Mount
Expand Down

0 comments on commit d84c60e

Please sign in to comment.