You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Err: errors.NewAutoscalerError(errors.UnexpectedScaleDownStateError, "Eviction did not attempted for the pod %s because some of the previous evictions failed", pod.Name)}
105
+
Err: errors.NewAutoscalerErrorf(errors.UnexpectedScaleDownStateError, "Eviction did not attempted for the pod %s because some of the previous evictions failed", pod.Name)}
returnevictionResults, errors.NewAutoscalerError(errors.ApiCallError, "Failed to drain node %s/%s, due to following errors: %v", node.Namespace, node.Name, evictionErrs)
210
+
returnevictionResults, errors.NewAutoscalerErrorf(errors.ApiCallError, "Failed to drain node %s/%s, due to following errors: %v", node.Namespace, node.Name, evictionErrs)
returnnil, errors.NewAutoscalerError(errors.InternalError, "Expander %s was specified multiple times, each expander must not be specified more than once", name)
61
+
returnnil, errors.NewAutoscalerErrorf(errors.InternalError, "Expander %s was specified multiple times, each expander must not be specified more than once", name)
62
62
}
63
63
ifstrategySeen {
64
-
returnnil, errors.NewAutoscalerError(errors.InternalError, "Expander %s came after an expander %s that will always return only one result, this is not allowed since %s will never be used", name, names[i-1], name)
64
+
returnnil, errors.NewAutoscalerErrorf(errors.InternalError, "Expander %s came after an expander %s that will always return only one result, this is not allowed since %s will never be used", name, names[i-1], name)
65
65
}
66
66
seenExpanders[name] =struct{}{}
67
67
68
68
create, known:=f.createFunc[name]
69
69
ifknown {
70
70
filters=append(filters, create())
71
71
} else {
72
-
returnnil, errors.NewAutoscalerError(errors.InternalError, "Expander %s not supported", name)
72
+
returnnil, errors.NewAutoscalerErrorf(errors.InternalError, "Expander %s not supported", name)
73
73
}
74
74
if_, ok:=filters[len(filters)-1].(expander.Strategy); ok {
0 commit comments