Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readServerConfig (0.08 sec)

  1. cmd/config-current.go

    	return readServerConfig(GlobalContext, objAPI, nil)
    }
    
    // loadConfig - loads a new config from disk, overrides params
    // from env if found and valid
    // data is optional. If nil it will be loaded from backend.
    func loadConfig(objAPI ObjectLayer, data []byte) error {
    	bootstrapTraceMsg("load the configuration")
    	srvCfg, err := readServerConfig(GlobalContext, objAPI, data)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    			}
    			partialWrite(healthInfo)
    		}
    	}
    
    	getAndWriteMinioConfig := func() {
    		if query.Get("minioconfig") == "true" {
    			config, err := readServerConfig(healthCtx, objectAPI, nil)
    			if err != nil {
    				healthInfo.Minio.Config = madmin.MinioConfig{
    					Error: err.Error(),
    				}
    			} else {
    				healthInfo.Minio.Config = madmin.MinioConfig{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top