Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for endpointArgs (0.07 seconds)

  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
    	}{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top