Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resetGlobalConfigPath (0.19 sec)

  1. cmd/test-utils_test.go

    	// create an instance of TestServer.
    	testServer := UnstartedTestServer(t, instanceType)
    	testServer.Server.Start()
    	return testServer
    }
    
    // Sets the global config path to empty string.
    func resetGlobalConfigPath() {
    	globalConfigDir = &ConfigDir{path: ""}
    }
    
    // sets globalObjectAPI to `nil`.
    func resetGlobalObjectAPI() {
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = nil
    	globalObjLayerMutex.Unlock()
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top