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

Include service plan fields when listing service instances #3468

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

zabanov-lab
Copy link
Contributor

Is there a related GitHub Issue?

#3291

What is this change about?

Include service plan fields when listing service instances

Does this PR introduce a breaking change?

No

Acceptance Steps

See story

danail-branekov
danail-branekov previously approved these changes Sep 9, 2024
session := helpers.Cf("services")
Expect(session).To(Exit(0))

lines, _ := it.Collect2(it.LinesString(session.Out))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In go-functional v2.1.0 I've added the MustCollect consumer for cases where you know errors will not occur or where panicing is OK (such as in tests). This could be written more clearly as:

lines := it.MustCollect(it.LinesString(session.Out))

@danail-branekov danail-branekov merged commit 2efcabb into main Sep 13, 2024
11 checks passed
@danail-branekov danail-branekov deleted the issues/3291-service-plan-fields branch September 13, 2024 09:16
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.

3 participants