mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00: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>
16 lines
256 B
Go
16 lines
256 B
Go
package io
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// ReadSeekNopCloser wraps an io.ReadSeeker with an additional Close method
|
|
// that does nothing.
|
|
type ReadSeekNopCloser struct {
|
|
io.ReadSeeker
|
|
}
|
|
|
|
// Close does nothing.
|
|
func (ReadSeekNopCloser) Close() error {
|
|
return nil
|
|
}
|