fix(drivers): rainyun run away

This commit is contained in:
mei
2026-08-13 14:50:08 +08:00
parent 6990166dfc
commit 868731c95e
3 changed files with 18 additions and 0 deletions
+5
View File
@@ -3,6 +3,7 @@ package rainyun
import (
"context"
"fmt"
"strings"
"github.com/ssdomei232/goodBaby/internal/retry"
"github.com/ssdomei232/goodBaby/model"
@@ -117,5 +118,9 @@ func RainyunRunAway(ctx context.Context, rule *model.Rule) error {
}
}
if len(fails) > 0 {
return fmt.Errorf("%d/%d 台云服务器重装失败: %s", len(fails), total, strings.Join(fails, "; "))
}
return nil
}