SUMMARY
ISSUE TYPE
STEPS TO REPRODUCE
- Run
gru --json chassis boot <something> --now
EXPECTED RESULTS
Printed value should be a parseable JSON object, instead of two separate JSON objects.
ACTUAL RESULTS
JSON objects should be merged, so jq or any other JSON interpreter may parse the output.
redbull-management:~/doomslayer # gru -j chassis boot bios --now ncn-s001-mgmt ncn-s002-mgmt ncn-s003-mgmt
{
"ncn-s001-mgmt": {
"target": "BiosSetup"
},
"ncn-s002-mgmt": {
"target": "BiosSetup"
},
"ncn-s003-mgmt": {
"target": "BiosSetup"
}
}
{
"ncn-s001-mgmt": {
"previousPowerState": "On",
"resetType": "ForceRestart"
},
"ncn-s002-mgmt": {
"previousPowerState": "On",
"resetType": "ForceRestart"
},
"ncn-s003-mgmt": {
"previousPowerState": "On",
"resetType": "ForceRestart"
}
}