build: fix problems found with ineffasign linter

This commit is contained in:
Nick Craig-Wood 2019-01-11 17:00:59 +00:00
parent 8d5d332daf
commit 97752ca8fb
5 changed files with 21 additions and 9 deletions

View file

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