skupper
skupper copied to clipboard
`skupper site status` ignores `-o` flag
Describe the bug
Exactly what it says on the tin
How To Reproduce
$ skupper site status -o json
NAME STATUS MESSAGE
asdf Ready OK
$ skupper site status -o yaml
NAME STATUS MESSAGE
asdf Ready OK
Expected behavior
An YAML or JSON output
Environment details
- Skupper CLI: 2.0 and main
- Skupper Operator (if applicable): Not applicable
- Platform: kubernetes, openshift
Additional context
Not applicable
Additionally, on site status:
$ skupper site status
NAME STATUS MESSAGE
west Ready OK
$ oc get sites.skupper.io
NAME STATUS SITES IN NETWORK MESSAGE
west Ready 2 OK
It does not relay the SITES IN NETWORK column — is that intentional?
@hash-d "sites in network" is not specified in refdog, so that is why it is not displayed in the cli output. https://skupperproject.github.io/refdog/commands/site/status.html
But it could be added if @ssorj agrees
@noe The site command does appear to be missing the -o flag processing. I can add it.