Skip to content

Commit

Permalink
Set initial health to healthy
Browse files Browse the repository at this point in the history
  • Loading branch information
razaj92 committed Dec 12, 2018
1 parent 0c3dab1 commit cc369bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ func main() {
instanceID = ec2Identity.InstanceID
log.Infof("Instance ID: %s", instanceID)

// Node is initially healthy as per AWS autoscaling API
nodeHealth = true

// Main loop
log.Infof("Waiting grace period of %v seconds before checking", recheckDelay)
for true {
Expand Down

0 comments on commit cc369bd

Please sign in to comment.