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(gcb): Further clean-up of GCB config #742

Merged
merged 2 commits into from
May 12, 2020
Merged

refactor(gcb): Further clean-up of GCB config #742

merged 2 commits into from
May 12, 2020

Conversation

ezimanyi
Copy link
Contributor

Given that we are enforcing a non-null account name and project downstream, let's enforce them at object creation to make things cleaner.

This commit also removes the subscriptionName field; it is part of the config but not needed by igor, so there's no sense mapping it.

Finally, make jsonKey an optional to better reflect that it is optional (instead of treating an empty string as a sentinel value).

Given that we are enforcing a non-null account name and project
downstream, let's enforce them at object creation to make things
cleaner.

This commit also removes the subscriptionName field; it is
part of the config but not needed by igor, so there's no sense
mapping it.

Finally, make jsonKey an optional to better reflect that it is
optional (instead of treating an empty string as a sentinel
value).
@ezimanyi ezimanyi added the ready to merge Approved and ready for merge label May 12, 2020
@mergify mergify bot added the auto merged label May 12, 2020
@mergify mergify bot merged commit 75f28bd into spinnaker:master May 12, 2020
@ezimanyi ezimanyi deleted the null-check-gcb branch May 12, 2020 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants