mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-19 00:55:37 -04:00
Merge pull request #16016 from mqliang/uselessDel
remove useless function
This commit is contained in:
commit
075d760ad4
1 changed files with 0 additions and 7 deletions
|
|
@ -500,13 +500,6 @@ func formatEndpoints(endpoints *api.Endpoints, ports sets.String) string {
|
|||
return ret
|
||||
}
|
||||
|
||||
func podHostString(host, ip string) string {
|
||||
if host == "" && ip == "" {
|
||||
return "<unassigned>"
|
||||
}
|
||||
return host + "/" + ip
|
||||
}
|
||||
|
||||
func shortHumanDuration(d time.Duration) string {
|
||||
// Allow deviation no more than 2 seconds(excluded) to tolerate machine time
|
||||
// inconsistence, it can be considered as almost now.
|
||||
|
|
|
|||
Loading…
Reference in a new issue