- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for srvCfg (0.05 sec)
-
cmd/config.go
srvCfg := config.New() var err error if len(data) == 0 { configFile := path.Join(minioConfigPrefix, minioConfigFile) data, err = readConfig(ctx, objAPI, configFile) if err != nil { if errors.Is(err, errConfigNotFound) { lookupConfigs(srvCfg, objAPI) return srvCfg, nil } return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 6K bytes - Viewed (0) -
cmd/config-migrate.go
getConfigFile(), getConfigFile() + ".deprecated", configFile, } newServerCfg := func() (config.Config, error) { // Initialize server config. srvCfg := newServerConfig() return srvCfg, saveServerConfig(ctx, objAPI, srvCfg) } var data []byte var err error cfg := &serverConfigV33{} for _, cfgFile := range configFiles { if _, err = Load(cfgFile, 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/bootstrap-peer-server.go
func (client *bootstrapRESTClient) Verify(ctx context.Context, srcCfg *ServerSystemConfig) (err error) { if newObjectLayerFn() != nil { return nil } recvCfg, err := serverVerifyHandler.Call(ctx, client.gridConn, grid.NewMSS()) if err != nil { return err } // We do not need the response after returning. defer serverVerifyHandler.PutResponse(recvCfg) return srcCfg.Diff(recvCfg) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0)