solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy

Home Page:https://docs.solo.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`glooctl version` output modes do not always print valid json or yaml

jbohanon opened this issue · comments

Gloo Edge Product

Open Source

Gloo Edge Version

v1.17.0

Kubernetes Version

All

Describe the bug

Additionally, glooctl version does not always print valid json and yaml in the respective output modes

Expected Behavior

glooctl version —output json always prints valid json and glooctl version —output yaml always prints valid yaml

Steps to reproduce the bug

glooctl version without a gloo instance prints a raw string before any json

Additional Environment Detail

No response

Additional Context

No response