Merge pull request #863 from elezar/sort-feature-flags

[no-relnote] Sort feature flags
This commit is contained in:
Evan Lezar 2025-01-15 13:33:34 +01:00 committed by GitHub
commit be001d938c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,13 +18,13 @@ package config
// features specifies a set of named features. // features specifies a set of named features.
type features struct { 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. // AllowLDConfigFromContainer allows non-host ldconfig paths to be used.
// If this feature flag is not set to 'true' only host-rooted config paths // If this feature flag is not set to 'true' only host-rooted config paths
// (i.e. paths starting with an '@' are considered valid) // (i.e. paths starting with an '@' are considered valid)
AllowLDConfigFromContainer *feature `toml:"allow-ldconfig-from-container,omitempty"` 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 type feature bool