Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Fix workload list --output behaviour#185

Merged
rashedkvm merged 1 commit into
vmware-tanzu:mainfrom
warango4:issue182
Jun 23, 2022
Merged

Fix workload list --output behaviour#185
rashedkvm merged 1 commit into
vmware-tanzu:mainfrom
warango4:issue182

Conversation

@warango4
Copy link
Copy Markdown
Contributor

Pull request

What this PR does / why we need it

workload list --output was showing just one workload as many times as workloads there were under the namespace. This is now fixed and all workloads are shown in the output.

Which issue(s) this PR fixes

Fixes #182

Describe testing done for PR

  • Updated unit testing
  • Run command in local cluster

Additional information or special notes for your reviewer

Signed-off-by: Wendy Arango warango@vmware.com

@warango4
Copy link
Copy Markdown
Contributor Author

Workloads present in the cluster:

image

After running

tanzu apps workload list -o json > output.txt

image

@warango4
Copy link
Copy Markdown
Contributor Author

After running

tanzu apps workload list -o yaml > output.txt

image

workload list --output was showing just one workload as many times as workloads there were under the namespace. This is now fixed and all workloads are shown in the output.

Signed-off-by: Wendy Arango warango@vmware.com
@rashedkvm rashedkvm merged commit 984d51c into vmware-tanzu:main Jun 23, 2022
@warango4 warango4 deleted the issue182 branch July 14, 2022 13:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workload list --output does not show all workloads in namespace

5 participants