mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Ignore config values from unknown subsystems (#10432)
This commit is contained in:
@@ -448,6 +448,11 @@ func (c Config) Merge() Config {
|
||||
ckvs.Set(kv.Key, kv.Value)
|
||||
}
|
||||
}
|
||||
if _, ok := cp[subSys]; !ok {
|
||||
// A config subsystem was removed or server was downgraded.
|
||||
Logger.Info("config: ignoring unknown subsystem config %q\n", subSys)
|
||||
continue
|
||||
}
|
||||
cp[subSys][tgt] = ckvs
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user