Merge pull request elastic/elasticsearch#206 from mrsolo/fix/spelling
Fixed minor spelling errors in exception messages Original commit: elastic/x-pack-elasticsearch@ba9be34f23
This commit is contained in:
commit
7676347bb4
|
@ -529,7 +529,7 @@ public class Watch implements TriggerEngine.Job, ToXContent {
|
|||
} else if (REASON_FIELD.match(currentFieldName)) {
|
||||
reason = parser.text();
|
||||
} else {
|
||||
throw new WatcherException("unknown filed [" + currentFieldName + "] in watch status throttle entry");
|
||||
throw new WatcherException("unknown field [" + currentFieldName + "] in watch status throttle entry");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -550,7 +550,7 @@ public class Watch implements TriggerEngine.Job, ToXContent {
|
|||
} else if (STATE_FIELD.match(currentFieldName)) {
|
||||
state = AckStatus.State.valueOf(parser.text().toUpperCase(Locale.ROOT));
|
||||
} else {
|
||||
throw new WatcherException("unknown filed [" + currentFieldName + "] in watch status throttle entry");
|
||||
throw new WatcherException("unknown field [" + currentFieldName + "] in watch status throttle entry");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue