cloudfoundry / cloud-service-broker

OSBAPI service broker that uses Terraform to provision and bind services. Derived from https://github.com/GoogleCloudPlatform/gcp-service-broker
Apache License 2.0
81 stars 38 forks source link

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

Closed kanngiesser closed 1 month ago

kanngiesser commented 1 month ago

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: