Replace "minion" with "node" in bunch of places.

This commit is contained in:
Wojciech Tyczynski
2015-09-10 10:40:22 +02:00
parent 86b4e777e1
commit 53ae56f205
36 changed files with 339 additions and 339 deletions

View File

@@ -25,7 +25,7 @@ import (
// ValidateEvent makes sure that the event makes sense.
func ValidateEvent(event *api.Event) errs.ValidationErrorList {
allErrs := errs.ValidationErrorList{}
// TODO: There is no namespace required for minion
// TODO: There is no namespace required for node.
if event.InvolvedObject.Kind != "Node" &&
event.Namespace != event.InvolvedObject.Namespace {
allErrs = append(allErrs, errs.NewFieldInvalid("involvedObject.namespace", event.InvolvedObject.Namespace, "namespace does not match involvedObject"))