azureblob: fix SAS URL support - fixes #2969
This was broken accidentally in 5d1d93e163
as part of #2654
This commit is contained in:
parent
b5f563fb0f
commit
ffe067d6e7
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
return nil, errors.New("Container name in SAS URL and container provided in command do not match")
|
return nil, errors.New("Container name in SAS URL and container provided in command do not match")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
f.container = parts.ContainerName
|
||||||
containerURL = azblob.NewContainerURL(*u, pipeline)
|
containerURL = azblob.NewContainerURL(*u, pipeline)
|
||||||
} else {
|
} else {
|
||||||
serviceURL = azblob.NewServiceURL(*u, pipeline)
|
serviceURL = azblob.NewServiceURL(*u, pipeline)
|
||||||
|
|
Loading…
Add table
Reference in a new issue