Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for endpointArgs (0.04 sec)

  1. cmd/endpoint_test.go

    // So it means that if you have say localhost:9000 and localhost:9001 as endpointArgs then localhost:9001
    // is considered a remote service from localhost:9000 perspective.
    func TestGetLocalPeer(t *testing.T) {
    	tempGlobalMinioPort := globalMinioPort
    	defer func() {
    		globalMinioPort = tempGlobalMinioPort
    	}()
    	globalMinioPort = "9000"
    
    	testCases := []struct {
    		endpointArgs   []string
    		expectedResult string
    	}{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top