1
0
mirror of https://github.com/rclone/rclone.git synced 2025-08-10 06:09:44 +02:00

rc: fix operations/check ignoring oneWay parameter

Change param from parsing "oneway" to "oneWay" as bool value, as the docs
say "oneWay -  check one way only, source files must exist on remote"
This commit is contained in:
houance
2025-07-21 23:41:08 +08:00
committed by GitHub
parent fc08983d71
commit 018ebdded5

View File

@@ -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{