Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2441#discussion_r164482225
  
    --- Diff: 
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/GetMongo.java
 ---
    @@ -126,6 +127,18 @@ public ValidationResult validate(final String subject, 
final String value, final
             .addValidator(StandardValidators.POSITIVE_INTEGER_VALIDATOR)
             .build();
     
    +    static final AllowableValue YES_PP = new AllowableValue("yes", "Yes");
    --- End diff --
    
    Would recommend we use 'true' and 'false' rather than 'yes' and 'no', just 
to keep consistent with the properties in most of the processors.


---

Reply via email to