forked from TrueCloudLab/rclone
backend/tardigrade: Upgrade to uplink v1.1.1
This fixes issue #4370 by restoring the correct error response.
This commit is contained in:
parent
a55d882b7b
commit
e780cda1d4
125 changed files with 14632 additions and 92919 deletions
12
vendor/github.com/vivint/infectious/common.go
generated
vendored
12
vendor/github.com/vivint/infectious/common.go
generated
vendored
|
@ -36,13 +36,15 @@
|
|||
package infectious
|
||||
|
||||
import (
|
||||
"github.com/spacemonkeygo/errors"
|
||||
"errors"
|
||||
|
||||
"golang.org/x/sys/cpu"
|
||||
)
|
||||
|
||||
var Error = errors.NewClass("infectious")
|
||||
var NotEnoughShares = Error.NewClass("not enough shares")
|
||||
var TooManyErrors = Error.NewClass("too many errors")
|
||||
|
||||
var hasAVX2 = cpu.X86.HasAVX2
|
||||
var hasSSSE3 = cpu.X86.HasSSSE3
|
||||
|
||||
var (
|
||||
NotEnoughShares = errors.New("not enough shares")
|
||||
TooManyErrors = errors.New("too many errors to reconstruct")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue