Closed engelmi closed 4 months ago
Currently, the src/client/method-status.c does not accept multiple units for bluechictl status <node> <unit1> <unit2> ... and simply fails. This is due to the switch in method_status(...): https://github.com/eclipse-bluechi/bluechi/blob/main/src/client/method-status.c#L647-L660
bluechictl status <node> <unit1> <unit2> ...
method_status(...)
argc is larger than 2 if multiple units are being passed to the bluechictl status command.
argc
Setting up bluechi-controller and bluechi-agent and running
bluechi-controller
bluechi-agent
bluechictl status <node> <unit1> <unit2>
The command should show the status for all units listed.
Hi please add me to the assignment
Fixed in https://github.com/eclipse-bluechi/bluechi/pull/871. Closing.
Describe the bug
Currently, the src/client/method-status.c does not accept multiple units for
bluechictl status <node> <unit1> <unit2> ...
and simply fails. This is due to the switch inmethod_status(...)
: https://github.com/eclipse-bluechi/bluechi/blob/main/src/client/method-status.c#L647-L660argc
is larger than 2 if multiple units are being passed to the bluechictl status command.To Reproduce
Setting up
bluechi-controller
andbluechi-agent
and runningExpected behavior
The command should show the status for all units listed.