You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/11/18 02:38:15 UTC

[GitHub] [nifi] markap14 commented on a change in pull request #5532: NIFI-9386: Adding status task schedule to Stateless engine config

markap14 commented on a change in pull request #5532:
URL: https://github.com/apache/nifi/pull/5532#discussion_r751861798



##########
File path: nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/ExecuteStateless.java
##########
@@ -850,6 +862,8 @@ private StatelessEngineConfiguration createEngineConfiguration(final ProcessCont
             contentRepoDirectory = null;
         }
 
+        final String statusTaskSchedule = context.getProperty(STATUS_TASK_SCHEDULE).isSet() ? context.getProperty(STATUS_TASK_SCHEDULE).getValue() : null;

Review comment:
       Can just use `final String statusTaskSchedule = context.getProperty(STATUS_TASK_SCHEDULE).getValue()` no? If not set, will be `null`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org