lordgamez commented on code in PR #1385: URL: https://github.com/apache/nifi-minifi-cpp/pull/1385#discussion_r960440940
########## libminifi/src/utils/OsUtils.cpp: ########## @@ -320,9 +316,11 @@ std::string OsUtils::getMachineArchitecture() { return "unknown"; } -} // namespace utils -} // namespace minifi -} // namespace nifi -} // namespace apache -} // namespace org +std::string OsUtils::getHostName() { + char hostname[1024]; + hostname[1023] = '\0'; + gethostname(hostname, 1023); + return {hostname}; +} Review Comment: Updated in 0a19f946e806c662e17edf7ab4959aa5f66da3c2 -- 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-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org