From e1b73ed48105be0c03836b379fc163644cd504dc Mon Sep 17 00:00:00 2001 From: mqliang Date: Wed, 21 Oct 2015 15:38:52 +0800 Subject: [PATCH] delete useless function --- pkg/kubectl/resource_printer.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/kubectl/resource_printer.go b/pkg/kubectl/resource_printer.go index 6c3a4436118..da1c60d358b 100644 --- a/pkg/kubectl/resource_printer.go +++ b/pkg/kubectl/resource_printer.go @@ -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 "" - } - 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.