-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(load-balancer): handle planned targets exceedings max targets (#570
) Catches the error condition before we even make a request to the API. This causes less requests to be sent to the Hetzner Cloud API. This does not change the behavior, as we just log & continue right now if we encounter a `ErrorCodeResourceLimitExceeded` while adding the target. Both cases are just visible in the HCCM logs (see #569 for improvements in that regard). Co-authored-by: Janis Kemper <[email protected]>
- Loading branch information
1 parent
65dea11
commit 8bb131f
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters