|
|
|
|
@ -388,9 +388,9 @@ func (m *Manager) compileConfig(cfg Config) (rcfg resolver.Config, ocfg OSConfig
|
|
|
|
|
cfg, err := m.os.GetBaseConfig()
|
|
|
|
|
if err == nil {
|
|
|
|
|
baseCfg = &cfg
|
|
|
|
|
} else if isApple && err == ErrGetBaseConfigNotSupported {
|
|
|
|
|
// This is currently (2022-10-13) expected on certain iOS and macOS
|
|
|
|
|
// builds.
|
|
|
|
|
} else if err == ErrGetBaseConfigNotSupported {
|
|
|
|
|
// Expected when using noopManager (userspace networking) or on
|
|
|
|
|
// certain iOS/macOS builds. Continue without base config.
|
|
|
|
|
} else {
|
|
|
|
|
m.health.SetUnhealthy(osConfigurationReadWarnable, health.Args{health.ArgError: err.Error()})
|
|
|
|
|
return resolver.Config{}, OSConfig{}, err
|
|
|
|
|
|