Skip to content

Commit ab798ec

Browse files
committed
remove
1 parent 888cfa5 commit ab798ec

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

modules/storage/azure.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ type azureBlobObject struct {
4040
}
4141

4242
func (a *azureBlobObject) downloadStream(p []byte) (int, error) {
43-
if a.BlobClient == nil {
44-
return 0, fmt.Errorf("no blob client in azure blob object")
45-
}
46-
if a.Context == nil {
47-
return 0, fmt.Errorf("no context in azure blob object")
48-
}
49-
5043
if a.Offset > a.Size {
5144
return 0, io.EOF
5245
}

0 commit comments

Comments
 (0)