mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-06 00:59:13 +00:00
When mkdef is called with an object name but no attributes (e.g. mkdef -t node -o mynode), setFINALattrs produces an empty hash and the OBJ loop has nothing to iterate. The code falls through to "0 object definitions have been created or modified" with no explanation of what went wrong. Add a check after setFINALattrs: if FINALATTRS is empty, tell the user what's missing. For nodes, mention that 'groups' is required. Fixes #2765