mirror of https://github.com/apache/nifi.git
NIFI-9896: Fixed bug with overwriting Script Body value in InvokeScriptedProcessor
This closes #5948 Signed-off-by: Mike Thomsen <mthomsen@apache.org>
This commit is contained in:
parent
2c83149c6d
commit
252a8abadd
|
@ -256,8 +256,6 @@ public class InvokeScriptedProcessor extends AbstractSessionFactoryProcessor {
|
|||
scriptingComponentHelper.setScriptPath(newValue);
|
||||
} else if (ScriptingComponentUtils.SCRIPT_BODY.equals(descriptor)) {
|
||||
scriptingComponentHelper.setScriptBody(newValue);
|
||||
} else if (ScriptingComponentUtils.MODULES.equals(descriptor)) {
|
||||
scriptingComponentHelper.setScriptBody(newValue);
|
||||
} else if (scriptingComponentHelper.SCRIPT_ENGINE.equals(descriptor)) {
|
||||
scriptingComponentHelper.setScriptEngineName(newValue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue