feat: add self-upgrade command with GitHub Releases, atomic flow, and cross-platform support
This commit is contained in:
1 parent
a0dc5d6183
commit
a18ce2e54d
14 files changed
+2114
-263
No files matched your search
@@ -176,7 +176,7 @@ func isRetriable(err error) bool {
|
||||
return true
|
||||
}
|
||||
errStr := err.Error()
|
||||
for _, pattern := range []string{"connection reset", "connection refused", "timeout", "temporary failure", "EOF"} {
|
||||
for _, pattern := range []string{"connection reset", "connection refused", "timeout", "temporary failure", "eof"} {
|
||||
if strings.Contains(strings.ToLower(errStr), pattern) {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user