szaszm commented on code in PR #1842:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1842#discussion_r1695154502
##########
libminifi/src/core/flow/StructuredConfiguration.cpp:
##########
@@ -989,6 +989,9 @@ std::string StructuredConfiguration::getOptionalField(const
Node& node, const st
return default_value;
}
+ if (result.isSequence()) {
+ return (*result.begin()).getString().value();
Review Comment:
What if it's empty? Is that not possible here?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]