This also re-adds the retry-go package in order to do both the retry and the delay functionality. If there was another reason for removing it let me know!
Testing this on an actual cluster with setting the drain-interval to 30 seconds and the drain-timeout to 120 seconds I can see from the logs that there is the correct amount of time between retries.
This addresses https://github.com/keikoproj/lifecycle-manager/issues/185 by re-adding the
retryInterval
when draining.This also re-adds the
retry-go
package in order to do both the retry and the delay functionality. If there was another reason for removing it let me know!Testing this on an actual cluster with setting the drain-interval to 30 seconds and the drain-timeout to 120 seconds I can see from the logs that there is the correct amount of time between retries.