Kubelet: remove unused getHostFieldLabel function

pull/6/head
Yu-Ju Hong 2015-05-11 14:36:29 -07:00
parent 8b3130b112
commit 3f791db886
1 changed files with 0 additions and 9 deletions

View File

@ -42,12 +42,3 @@ func newSourceApiserverFromLW(lw cache.ListerWatcher, updates chan<- interface{}
}
cache.NewReflector(lw, &api.Pod{}, cache.NewUndeltaStore(send, cache.MetaNamespaceKeyFunc), 0).Run()
}
func getHostFieldLabel(apiVersion string) string {
switch apiVersion {
case "v1beta1", "v1beta2":
return "DesiredState.Host"
default:
return "spec.host"
}
}