Skip to content

Conversation

vishalbollu
Copy link
Contributor


checklist:

  • run make test and make lint
  • test manually (i.e. build/push all images, restart operator, and re-deploy APIs)

@vishalbollu vishalbollu requested a review from deliahu October 14, 2020 16:57
}

if _flagOutput == flags.JSONOutputType {
bytes, err := libjson.Marshal(cliConfig.Environments)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use MarshalIndent() here to make it look nicer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, for now -o json will not pretty print json.

@vishalbollu vishalbollu merged commit 443ed02 into master Oct 15, 2020
@vishalbollu vishalbollu deleted the env-list-json-output branch October 15, 2020 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants