]> git.apps.os.sepia.ceph.com Git - ceph.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:51:20 +0000 (14:51 +0000)
commit26249ee1781f2231871ab812ea03a5a67f587e91
treed1d691413d4f0d3ab57925b093bb8dcbb67291cb
parent773a1af13cb42a37daaf069a771a999ee8a31e6e
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>
(cherry picked from commit 9b88e5a782b2c10ce782ca09ff2bb56bb0a82200)
src/cephadm/node-proxy/util.py