Fix PaidServicesAllowed to type bool
The Cloud Controller API states that the PaidServicesAllowed field must not be null. The field should be a boolean and not a *bool (pointer). https://v3-apidocs.cloudfoundry.org/version/3.180.0/index.html#the-organization-quota-object
This way, the calling application can assume that it is not nil. The other fields are designated as nullable or pointers and thus defined as unlimited. This makes no sense for a boolean.
Other use cases also follow this pattern: pointer = nullable, otherwise value.
Therefore, I assume that this is a bug, which I fix with this PR.
Currently, the command make all throws lint warnings, which also happens to me in the main branch.
- :x: - login: @fapo85 / name: Fabian Spottog . The commit (7858cdd14b7495a9bf247802bd4b5639e3cdaa34) is not authorized under a signed CLA. Please click here to be authorized. For further assistance with EasyCLA, please submit a support request ticket.
LGTM, I can merge it if you sign the CLA
as a little time has already passed, a short feedback. We are currently clarifying internally why this has not yet happened or does not count.
i have indications that my company has signed the cla, i will test it
Fixed in main