NIFI-3283 Fixing typo in UpdateAttribute error message

This closes #1396.
This commit is contained in:
jpercivall 2017-01-05 10:39:57 -05:00 committed by Pierre Villard
parent 7c95634203
commit ac42178e9b
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class UpdateAttribute extends AbstractProcessor implements Searchable {
String initValue = context.getProperty(STATEFUL_VARIABLES_INIT_VALUE).getValue(); String initValue = context.getProperty(STATEFUL_VARIABLES_INIT_VALUE).getValue();
if (initValue == null){ if (initValue == null){
reasons.add(new ValidationResult.Builder().subject(STATEFUL_VARIABLES_INIT_VALUE.getDisplayName()).valid(false) reasons.add(new ValidationResult.Builder().subject(STATEFUL_VARIABLES_INIT_VALUE.getDisplayName()).valid(false)
.explanation("initial state value much be set if the processor is configured to store state.").build()); .explanation("initial state value must be set if the processor is configured to store state.").build());
} }
} }