delete useless function

pull/6/head
mqliang 2015-10-21 15:38:52 +08:00
parent 1f28ef05de
commit e1b73ed481
1 changed files with 0 additions and 7 deletions

View File

@ -500,13 +500,6 @@ func formatEndpoints(endpoints *api.Endpoints, ports sets.String) string {
return ret return ret
} }
func podHostString(host, ip string) string {
if host == "" && ip == "" {
return "<unassigned>"
}
return host + "/" + ip
}
func shortHumanDuration(d time.Duration) string { func shortHumanDuration(d time.Duration) string {
// Allow deviation no more than 2 seconds(excluded) to tolerate machine time // Allow deviation no more than 2 seconds(excluded) to tolerate machine time
// inconsistence, it can be considered as almost now. // inconsistence, it can be considered as almost now.