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

    https://github.com/apache/nifi-minifi-cpp/pull/114#discussion_r123530192
  
    --- Diff: libminifi/src/core/yaml/YamlConfiguration.cpp ---
    @@ -314,10 +314,8 @@ void 
YamlConfiguration::parseProvenanceReportingYaml(YAML::Node *reportNode, cor
       auto schedulingStrategyStr = node["scheduling 
strategy"].as<std::string>();
       checkRequiredField(&node, "scheduling period", 
CONFIG_YAML_PROVENANCE_REPORT_KEY);
       auto schedulingPeriodStr = node["scheduling period"].as<std::string>();
    -  checkRequiredField(&node, "host", CONFIG_YAML_PROVENANCE_REPORT_KEY);
    -  auto hostStr = node["host"].as<std::string>();
    -  checkRequiredField(&node, "port", CONFIG_YAML_PROVENANCE_REPORT_KEY);
    -  auto portStr = node["port"].as<std::string>();
    +  checkRequiredField(&node, "url", CONFIG_YAML_PROVENANCE_REPORT_KEY);
    --- End diff --
    
    i want to avoid confusion so that we have a consistent way to config the 
same. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to