smctl status
returns Object instead of Array of the entity errors
#136
Labels
enhancement
New feature or request
we are working on an simple automation for our setup and we found a simple issue with the
smctl status
output. The entityerrors
is an object instead of an array but the name of the attributeis in
plural
which assumes that the entity can contain more than one entry.Maybe the kind of the attribute should change to an array or the naming should be singular instead of plural.
If
errors
is an array we can test on success very easy withjq
andlenght
of the errors array...which is currently not possible.The text was updated successfully, but these errors were encountered: