Skip to content

Commit c35bbc3

Browse files
committed
Fix hooks spec logic
1 parent 5b05e7f commit c35bbc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/cloud/services/autoscaling/lifecyclehook.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ func getLifecycleHookSpecificationList(lifecycleHooks []expinfrav1.AWSLifecycleH
151151
timeoutSeconds := hook.HeartbeatTimeout.Duration.Seconds()
152152
spec.HeartbeatTimeout = aws.Int64(int64(timeoutSeconds))
153153
}
154+
155+
ret = append(ret, spec)
154156
}
155157

156158
return

0 commit comments

Comments
 (0)