mirror of
https://github.com/rclone/rclone.git
synced 2025-08-27 13:16:21 +02:00
fs: refactor fs.ConfigMap to take a prefix and Options rather than an fs.RegInfo
This is in preparation for generalising the backend config system
This commit is contained in:
@@ -88,7 +88,7 @@ func (vol *Volume) applyOptions(volOpt VolOpts) error {
|
||||
fsType = "local"
|
||||
if fsName != "" {
|
||||
var ok bool
|
||||
fsType, ok = fs.ConfigMap(nil, fsName, nil).Get("type")
|
||||
fsType, ok = fs.ConfigMap("", nil, fsName, nil).Get("type")
|
||||
if !ok {
|
||||
return fs.ErrorNotFoundInConfigFile
|
||||
}
|
||||
|
Reference in New Issue
Block a user