Commit ba878685 authored by Mike Danese's avatar Mike Danese

changed unused fmt statement to be a log statement

parent 84af5f0d
......@@ -190,7 +190,7 @@ func getBestHosts(list algorithm.HostPriorityList) []string {
func EqualPriority(_ *api.Pod, podLister algorithm.PodLister, minionLister algorithm.MinionLister) (algorithm.HostPriorityList, error) {
nodes, err := minionLister.List()
if err != nil {
fmt.Errorf("failed to list nodes: %v", err)
glog.Errorf("failed to list nodes: %v", err)
return []algorithm.HostPriority{}, err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment