This repository has been archived by the owner on Dec 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix health state not recovering after a occured failure (#54)
When an exception is raised inside the method `autoscale`, the health endpoint indicates this by responding with status code "503". If kube-aws-autoscaler recovers on a subsequent run, the health endpoint still responds with status code "503". These changes fix this behaviour by setting the global variable `Healthy` to `True` after each run of autoscale if no exception occurred.
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
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