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

Porter returns null when listing installations #3338

Open
erikced opened this issue Feb 20, 2025 · 0 comments · May be fixed by #3339
Open

Porter returns null when listing installations #3338

erikced opened this issue Feb 20, 2025 · 0 comments · May be fixed by #3339
Labels
bug Oops, sorry!

Comments

@erikced
Copy link

erikced commented Feb 20, 2025

Describe the bug

Porter returns null instead of an empty list when outputting installations to json and there are no matching entries.

To Reproduce

Steps to reproduce the behavior:

  1. Run porter installations list -o json -n some-nonexistent-namespace
  2. Observe returned null

Expected behavior

The command returns an empty json list, [].

Version

Copy the output of porter version below
porter v1.2.1

@erikced erikced added the bug Oops, sorry! label Feb 20, 2025
@erikced erikced linked a pull request Feb 20, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oops, sorry!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant