This is an automated email from the ASF dual-hosted git repository.
phrocker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 6da475b MINIFICPP-898 - Listen port validator is broken
6da475b is described below
commit 6da475b935a27c606a7ab49c7aa1d3ec253b56d5
Author: Arpad Boda <[email protected]>
AuthorDate: Wed May 29 18:01:29 2019 +0200
MINIFICPP-898 - Listen port validator is broken
This closes #574.
Signed-off-by: Marc Parisi <[email protected]>
---
libminifi/include/core/PropertyValidation.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libminifi/include/core/PropertyValidation.h
b/libminifi/include/core/PropertyValidation.h
index 2df5218..b0e59e9 100644
--- a/libminifi/include/core/PropertyValidation.h
+++ b/libminifi/include/core/PropertyValidation.h
@@ -342,7 +342,7 @@ class StandardValidators {
}
static const std::shared_ptr<PropertyValidator> LISTEN_PORT_VALIDATOR(){
- static std::shared_ptr<PropertyValidator> validator =
std::make_shared<ListenPortValidator>("LISTEN_PORT_VALIDATOR");
+ static std::shared_ptr<PropertyValidator> validator =
std::make_shared<ListenPortValidator>("PORT_VALIDATOR");
return validator;
}