mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-22 10:35:38 +00:00
Merge pull request #863 from elezar/sort-feature-flags
[no-relnote] Sort feature flags
This commit is contained in:
commit
be001d938c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user