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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue