fix amount typo

This commit is contained in:
timchenxiaoyu 2017-03-01 12:31:11 +08:00
parent 2681e38d3a
commit 7307f9e7a2

View File

@ -876,7 +876,7 @@ func AddOrUpdateTaintOnNode(c clientset.Interface, nodeName string, taint *v1.Ta
// If passed a node it'll check if there's anything to be done, if taint is not present it won't issue
// any API calls.
func RemoveTaintOffNode(c clientset.Interface, nodeName string, taint *v1.Taint, node *v1.Node) error {
// Short circuit for limiting amout of API calls.
// Short circuit for limiting amount of API calls.
if node != nil {
match := false
for i := range node.Spec.Taints {