mirror of
https://github.com/restic/restic.git
synced 2025-12-16 12:22:24 +00:00
Update dependencies
Among others, this updates minio-go, so that the new "eu-west-3" zone for AWS is supported.
This commit is contained in:
3
vendor/github.com/ncw/swift/swift.go
generated
vendored
3
vendor/github.com/ncw/swift/swift.go
generated
vendored
@@ -297,6 +297,7 @@ var (
|
||||
TimeoutError = newError(408, "Timeout when reading or writing data")
|
||||
Forbidden = newError(403, "Operation forbidden")
|
||||
TooLargeObject = newError(413, "Too Large Object")
|
||||
RateLimit = newError(498, "Rate Limit")
|
||||
|
||||
// Mappings for authentication errors
|
||||
authErrorMap = errorMap{
|
||||
@@ -311,6 +312,7 @@ var (
|
||||
403: Forbidden,
|
||||
404: ContainerNotFound,
|
||||
409: ContainerNotEmpty,
|
||||
498: RateLimit,
|
||||
}
|
||||
|
||||
// Mappings for object errors
|
||||
@@ -321,6 +323,7 @@ var (
|
||||
404: ObjectNotFound,
|
||||
413: TooLargeObject,
|
||||
422: ObjectCorrupted,
|
||||
498: RateLimit,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user