Skip to content

Commit

Permalink
Fix hooks spec logic
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiDog committed Nov 27, 2024
1 parent 5b05e7f commit c35bbc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cloud/services/autoscaling/lifecyclehook.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ func getLifecycleHookSpecificationList(lifecycleHooks []expinfrav1.AWSLifecycleH
timeoutSeconds := hook.HeartbeatTimeout.Duration.Seconds()
spec.HeartbeatTimeout = aws.Int64(int64(timeoutSeconds))
}

ret = append(ret, spec)
}

return
Expand Down

0 comments on commit c35bbc3

Please sign in to comment.