2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

Merge pull request #3770 from whowutwut/openbmc_inventory_cleanup

Remove the error message when we come across associations in the OpenBMC inventory resposne
This commit is contained in:
zet809
2017-08-28 09:54:41 +08:00
committed by GitHub

View File

@@ -1359,8 +1359,8 @@ sub rinv_response {
}
} else {
if (! defined $content{Present}) {
# This should never happen, but if we find this, contact firmware team to fix...
xCAT::SvrUtils::sendmsg("ERROR: Invalid data for $key_url, contact firmware team!", $callback, $node);
# If the Present field is not part of the attribute, then it's most likely a callout
# Do not print as part of the inventory response
next;
}