From 018ebdded5e37e067e0f8830bbf17c4e82bfa2d7 Mon Sep 17 00:00:00 2001 From: houance <45840516+houance@users.noreply.github.com> Date: Mon, 21 Jul 2025 23:41:08 +0800 Subject: [PATCH] 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" --- fs/operations/rc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{