Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug in pulumi config env ls json output #14961

Merged
merged 1 commit into from Dec 20, 2023
Merged

Conversation

komalali
Copy link
Member

Description

The --json flag for pulumi config env ls was not being correctly passed through, this fixes the issue. Also changed the default output of no envs from null to [] so automation api doesn't need to handle the null case in all languages.

Checklist

  • I have run make tidy to update any new dependencies
  • I have run make lint to verify my code passes the lint check
    • I have formatted my code using gofumpt
  • I have added tests that prove my fix is effective or that my feature works
  • I have run make changelog and committed the changelog/pending/<file> documenting my change
  • Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version

@pulumi-bot
Copy link
Contributor

Changelog

[uncommitted] (2023-12-20)

Bug Fixes

  • [cli/config] Fix a bug in pulumi config env ls --json where the json flag was not being correctly passed through.
    #14961

@komalali komalali added this pull request to the merge queue Dec 20, 2023
Merged via the queue into master with commit 7564934 Dec 20, 2023
46 checks passed
@komalali komalali deleted the komal/env-ls-bug-fix branch December 20, 2023 01:30
@cleverguy25 cleverguy25 added this to the 0.98 milestone Dec 20, 2023
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.

None yet

4 participants