Skip to content

Commit

Permalink
fix: scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren committed Oct 31, 2024
1 parent abcc513 commit e880dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def validate_scopes(self) -> dict[str, bool | str]:
scopes = {}
# try initializing the client to validate the scopes
try:
self.client
self.client.list_entries(max_results=1)
scopes["roles/logs.viewer"] = True
except google.api_core.exceptions.PermissionDenied:
scopes["roles/logs.viewer"] = (
Expand Down

0 comments on commit e880dc4

Please sign in to comment.