This commit is contained in:
George Armhold committed 2017-10-26 16:22:10 -04:00
1 parent f5fa602482
commit eea96f652d
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -218,7 +218,7 @@ func (be *b2Backend) Load(ctx context.Context, h restic.Handle, length int, offs
}
// Save stores data in the backend at the handle.
func (be *b2Backend) Save(ctx context.Context, h restic.Handle, rd io.Reader) (error) {
func (be *b2Backend) Save(ctx context.Context, h restic.Handle, rd io.Reader) error {
ctx, cancel := context.WithCancel(ctx)
defer cancel()