Refactor Retry to accept timeout of type time.Duration as opposed to type int, potentially enabling passing expected exit code was well. Alternatively, in #237 adds RetryUntilResult which does both, so Retry might be able to just invoke this function for most of its logic...
Refactor Retry to accept
timeoutof typetime.Durationas opposed to typeint, potentially enabling passing expected exit code was well. Alternatively, in #237 addsRetryUntilResultwhich does both, soRetrymight be able to just invoke this function for most of its logic...