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 `operations/check` ignoring `oneWay` parameter

houance018ebdded5e3
diff --git a/fs/operations/rc.go b/fs/operations/rc.go
index 18119cc82..9bc18a275 100644
--- a/fs/operations/rc.go
+++ b/fs/operations/rc.go
@@ -820,7 +820,7 @@ func rcCheck(ctx context.Context, in rc.Params) (out rc.Params, err error) {
return nil, rc.NewErrParamInvalid(errors.New("need srcFs parameter when not using checkFileHash"))
}
- oneway, _ := in.GetBool("oneway")
+ oneway, _ := in.GetBool("oneWay")
download, _ := in.GetBool("download")
opt := &CheckOpt{