Avoid config migration on every startup (#16278)

This commit is contained in:
Klaus Post
2022-12-19 20:10:14 +01:00
committed by GitHub
parent ed37b7a9d5
commit b4f71362e9
8 changed files with 59 additions and 30 deletions

View File

@@ -61,7 +61,7 @@ func TestServerConfig(t *testing.T) {
}
// Initialize server config.
if err := loadConfig(objLayer); err != nil {
if err := loadConfig(objLayer, nil); err != nil {
t.Fatalf("Unable to initialize from updated config file %s", err)
}
}