feat: add support for halalcloud driver (#6696)

This commit is contained in:
YangXu
2024-07-07 13:20:34 +08:00
committed by GitHub
parent 316f3569a5
commit ca30849e24
9 changed files with 1075 additions and 64 deletions

View File

@ -138,7 +138,7 @@ func (mr *MultiReadable) Close() error {
func Retry(attempts int, sleep time.Duration, f func() error) (err error) {
for i := 0; i < attempts; i++ {
fmt.Println("This is attempt number", i)
//fmt.Println("This is attempt number", i)
if i > 0 {
log.Println("retrying after error:", err)
time.Sleep(sleep)