Skip to content

Commit

Permalink
changed unused fmt statement to be a log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedanese committed Aug 3, 2015
1 parent 84af5f0 commit ba87868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/pkg/scheduler/generic_scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ba87868

Please sign in to comment.