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

Handle CSM response without secrets #4425

Merged
merged 3 commits into from Apr 9, 2022
Merged

Handle CSM response without secrets #4425

merged 3 commits into from Apr 9, 2022

Conversation

inlined
Copy link
Member

@inlined inlined commented Apr 8, 2022

Fixes #4408

If the user doesn't have any secrets, then GET https://secretmanager.googleapis.com/v1/projects/p/secrets returns {}. This breaks when we try to iterate over response.body.secrets.

@inlined inlined requested a review from taeold April 8, 2022 22:41
@taeold taeold merged commit 2abaa02 into master Apr 9, 2022
@inlined inlined deleted the inlined.no-secrets branch April 11, 2022 20:50
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.

Deployment of functions using a secret fails with 10.6.0
2 participants