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

Resolve #1076 - Remove unnecessary repetition when configuration doesn't have any permission to billing account #1079

Conversation

hippo-an
Copy link
Contributor

이슈 (#1076)

  • billing account api 호출 시 권한 에러 (403) 가 발생하는 경우 logging 만 한 후 continue 로 반복
  • 불필요한 반복을 통해 자원 낭비

작업 내용

  • googleapi 의 에러인지 확인 후 403 코드를 반환한 경우 error 를 반환하고 api 호출 종료
  • 권한이 없는 경우 불필요한 반복 제거

…ing account

- Previously, all errors were handled with a continue without checking error codes.
- Following the update, 403 error codes from the Google API are checked, and in such cases, errors are returned to prevent unnecessary resource usage.
@hippo-an hippo-an changed the title Resolve #1076 - emove unnecessary repetition when configuration doesn't have any permission to billing account Resolve #1076 - Remove unnecessary repetition when configuration doesn't have any permission to billing account Feb 19, 2024
@powerkimhub powerkimhub merged commit 4bb95db into cloud-barista:master Feb 19, 2024
2 checks passed
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.

2 participants