Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

rc: fix options/local to return the filter options

Nick Craig-Woodc5a299d5b11a
diff --git a/fs/rc/config.go b/fs/rc/config.go
index a80f59399..6e9d97dac 100644
--- a/fs/rc/config.go
+++ b/fs/rc/config.go
@@ -103,7 +103,7 @@ map to the external options very easily with a few exceptions.
func rcOptionsLocal(ctx context.Context, in Params) (out Params, err error) {
out = make(Params)
out["config"] = fs.GetConfig(ctx)
- out["filter"] = filter.GetConfig(ctx)
+ out["filter"] = filter.GetConfig(ctx).Opt
return out, nil
}