]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: add a decorator 'retry'
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 9 Jun 2023 12:58:02 +0000 (14:58 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:43:30 +0000 (14:43 +0000)
commit9b88e5a782b2c10ce782ca09ff2bb56bb0a82200
treec057b61edb2f6e8a3c295c2eae81eefb60520db5
parentee8e28baafbe6861a21514c2af05b77a42d6f963
node-proxy: add a decorator 'retry'

This decorator will be useful for calls that should do multiple
attempts before actually failing.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/cephadm/node-proxy/util.py