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

refactor: func NewWorkspace returns proper zero-values for empty function parameters #1115

Merged

Conversation

kanngiesser
Copy link
Contributor

Func NewWorkspace returns proper go zero-values for each function parameter that is empty.

This PR fixes unintended changes in the behavior of func NewWorkspace due to #1102 and causes the function to keep the principle of least confusion:

Checklist:

  • Have you added or updated tests to validate the changed functionality?
  • Have you added Release Notes in the docs repositories?
  • Have you followed the Conventional Commits specification?

@kanngiesser kanngiesser marked this pull request as draft October 8, 2024 06:58
@kanngiesser kanngiesser force-pushed the new_workspace_keeps_zero_values branch from 733d073 to 93ad91c Compare October 8, 2024 07:31
@kanngiesser kanngiesser force-pushed the new_workspace_keeps_zero_values branch from 93ad91c to 12de896 Compare October 8, 2024 08:17
@kanngiesser kanngiesser marked this pull request as ready for review October 8, 2024 08:26
@ifindlay-cci ifindlay-cci merged commit 60a315d into cloudfoundry:main Oct 9, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants