mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-25 03:40:10 +01:00
5b7e8d1309
* lib/backup/s3remote: update AWS SDK to v2 * Update lib/backup/s3remote/s3.go Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com> * lib/backup/s3remote: refactor error handling Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
10 lines
247 B
Go
10 lines
247 B
Go
package aws
|
|
|
|
// MissingRegionError is an error that is returned if region configuration
|
|
// value was not found.
|
|
type MissingRegionError struct{}
|
|
|
|
func (*MissingRegionError) Error() string {
|
|
return "an AWS region is required, but was not found"
|
|
}
|