Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for endpointLocalMap (0.28 sec)

  1. cmd/endpoint.go

    	// is true and it works in all scenarios and it is safe to assume
    	// for a given host.
    	endpointLocalMap := make(map[string]bool)
    	for _, ep := range endpoints {
    		if ep.IsLocal {
    			endpointLocalMap[ep.Host] = ep.IsLocal
    		}
    	}
    	for i := range endpoints {
    		endpoints[i].IsLocal = endpointLocalMap[endpoints[i].Host]
    	}
    	return nil
    }
    
    // NewEndpoints - returns new endpoint list based on input args.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top