mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
azure: Pass data length to Azure libray
The azureAdapter was used directly without a pointer, but the Len() method was only defined with a pointer receiver (which means Len() is not present on a azureAdapter{}, only on a pointer to it).
This commit is contained in:
parent
bbdf18c4a2
commit
cdd704920d
@ -123,7 +123,7 @@ type azureAdapter struct {
|
||||
|
||||
func (azureAdapter) Close() error { return nil }
|
||||
|
||||
func (a *azureAdapter) Len() int {
|
||||
func (a azureAdapter) Len() int {
|
||||
return int(a.Length())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user