Skip to content

Commit

Permalink
Merge pull request #863 from elezar/sort-feature-flags
Browse files Browse the repository at this point in the history
[no-relnote] Sort feature flags
  • Loading branch information
elezar authored Jan 15, 2025
2 parents 11acbe7 + d584f9a commit be001d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/config/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ package config

// features specifies a set of named features.
type features struct {
// DisableImexChannelCreation ensures that the implicit creation of
// requested IMEX channels is skipped when invoking the nvidia-container-cli.
DisableImexChannelCreation *feature `toml:"disable-imex-channel-creation,omitempty"`
// AllowLDConfigFromContainer allows non-host ldconfig paths to be used.
// If this feature flag is not set to 'true' only host-rooted config paths
// (i.e. paths starting with an '@' are considered valid)
AllowLDConfigFromContainer *feature `toml:"allow-ldconfig-from-container,omitempty"`
// DisableImexChannelCreation ensures that the implicit creation of
// requested IMEX channels is skipped when invoking the nvidia-container-cli.
DisableImexChannelCreation *feature `toml:"disable-imex-channel-creation,omitempty"`
}

type feature bool
Expand Down

0 comments on commit be001d9

Please sign in to comment.