mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
daemon/config: remove deprecated Config.
This function was deprecated in 83f8f4efd7,
and the package is internal to the daemon, so we can remove it.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -136,13 +136,6 @@ func (conf *Config) IsSwarmCompatible() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ValidatePlatformConfig checks if any platform-specific configuration settings are invalid.
|
||||
//
|
||||
// Deprecated: this function was only used internally and is no longer used. Use [Validate] instead.
|
||||
func (conf *Config) ValidatePlatformConfig() error {
|
||||
return validatePlatformConfig(conf)
|
||||
}
|
||||
|
||||
// IsRootless returns conf.Rootless on Linux but false on Windows
|
||||
func (conf *Config) IsRootless() bool {
|
||||
return conf.Rootless
|
||||
|
||||
@@ -59,13 +59,6 @@ func (conf *Config) IsSwarmCompatible() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ValidatePlatformConfig checks if any platform-specific configuration settings are invalid.
|
||||
//
|
||||
// Deprecated: this function was only used internally and is no longer used. Use [Validate] instead.
|
||||
func (conf *Config) ValidatePlatformConfig() error {
|
||||
return validatePlatformConfig(conf)
|
||||
}
|
||||
|
||||
// IsRootless returns conf.Rootless on Linux but false on Windows
|
||||
func (conf *Config) IsRootless() bool {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user