cli
cli copied to clipboard
[main] Command "services": Eliminate duplicate app names
Description of the Change
For the "services" command: In case of multiple service bindings per (service instance guid, app guid), eliminate duplicate app names in the "bound apps" section.
Without this PR, you may see repeated app names like in this example:
# cf services
Getting service instances in org testorg / space testspace as admin...
name offering plan bound apps last operation broker upgrade available
service1 fake-service fake-async-plan testapp3, testapp1, testapp1 create succeeded sb1 no
service2 fake-service fake-async-plan testapp1, testapp1 create succeeded sb1 no
Why Is This PR Valuable?
Eliminates redundant information in output.
Applicable Issues
https://github.com/cloudfoundry/community/blob/main/toc/rfc/rfc-0040-service-binding-rotation.md#cf-cli
How Urgent Is The Change?
Not super-urgent.