2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Remove the message when doing rinv on OpenBMC nodes. Values without Present are associations

This commit is contained in:
Victor Hu 2017-08-24 15:58:53 -04:00
parent b0249c798f
commit 698d1f1bd9

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;
}