cli icon indicating copy to clipboard operation
cli copied to clipboard

[v8] Command "services": Eliminate duplicate app names

Open jochenehret opened this issue 1 month ago • 0 comments

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.

Other Relevant Parties

jochenehret avatar Dec 09 '25 11:12 jochenehret