Skip to content

Handle CSM response without secrets - #4425

Merged
taeold merged 3 commits into
masterfrom
inlined.no-secrets
Apr 9, 2022
Merged

taeold merged 3 commits into
masterfrom
inlined.no-secrets

Conversation

@inlined

@inlined inlined commented Apr 8, 2022

Copy link
Copy Markdown
Member

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