Skip to content

Commit

Permalink
Emit a message for no master candidates on live nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyklyukin committed Oct 12, 2017
1 parent bf0812d commit 6f2569a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (c *Cluster) masterCandidate(oldNodeName string) (*v1.Pod, error) {
}
}
}

c.logger.Debug("no available master candidates on live nodes")
return &replicas[rand.Intn(len(replicas))], nil
}

Expand Down

0 comments on commit 6f2569a

Please sign in to comment.