Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check: make (Service)Address() return an IP address
change the Address method to return an IP address when available (i.e. when ClusterIP is not empty, which happens in case of headless services) instead of just returning the service name. In case the IP family is set to any, this method will keep returning the service name. Signed-off-by: Gilberto Bertin <[email protected]>
- Loading branch information