Add generic retry loop function
There are quite a few retry loops with timeouts in Ganeti's code. Duplicating code is not good, so this patch introduces a new function named “utils.Retry” to remedy this situation. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Loading
Please register or sign in to comment