Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateDomainIPs (0.07 sec)

  1. cmd/endpoint_contrib_test.go

    		{set.CreateStringSet("10.0.0.1:9001", "10.0.0.2:9002"), set.CreateStringSet("10.0.0.1:9001", "10.0.0.2:9002")},
    	}
    
    	for _, testCase := range ipv4TestCases {
    		globalDomainIPs = nil
    
    		updateDomainIPs(testCase.endPoints)
    
    		if !testCase.expectedResult.Equals(globalDomainIPs) {
    			t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top