azureblob: fix SAS URL support - fixes #2969

This was broken accidentally in 5d1d93e163 as part of #2654
This commit is contained in:
Nick Craig-Wood 2019-02-12 21:43:28 +00:00
parent b5f563fb0f
commit ffe067d6e7
1 changed files with 1 additions and 0 deletions

View File

@ -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")
}
f.container = parts.ContainerName
containerURL = azblob.NewContainerURL(*u, pipeline)
} else {
serviceURL = azblob.NewServiceURL(*u, pipeline)