- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for readServerConfig (0.28 sec)
-
cmd/config-migrate.go
return newServerCfg() } return nil, err } data, err = decryptData(data, configFile) if err != nil { return nil, err } newCfg, err := readServerConfig(GlobalContext, objAPI, data) if err == nil { return newCfg, nil } // Read older `.minio.sys/config/config.json`, if not // possible just fail. if err = json.Unmarshal(data, cfg); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/config.go
}) if err != nil { return err } } return saveConfig(ctx, objAPI, configFile, data) } // data is optional. If nil it will be loaded from backend. func readServerConfig(ctx context.Context, objAPI ObjectLayer, data []byte) (config.Config, error) { srvCfg := config.New() var err error if len(data) == 0 { configFile := path.Join(minioConfigPrefix, minioConfigFile)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 6K bytes - Viewed (0)