Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LockSetEnv (0.24 sec)

  1. cmd/config-current.go

    }
    
    func validateConfig(ctx context.Context, s config.Config, subSys string) error {
    	objAPI := newObjectLayerFn()
    
    	// We must have a global lock for this so nobody else modifies env while we do.
    	defer env.LockSetEnv()()
    
    	// Disable merging env values with config for validation.
    	env.SetEnvOff()
    
    	// Enable env values to validate KMS.
    	defer env.SetEnvOn()
    	if subSys != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top