[ceph-users] Re: Lua scripting in radoswg

2022-02-22 Thread Koldo Aingeru
Hi Yuval! Yo are correct, I looked at the “optional” fields and didn’t realize that the parent parameter was optional. I see that there is a check for checking if CopyFrom is nil in the example, I’m going to try something like that. I mentinoned the Request.User field because of this from the

[ceph-users] Re: Lua scripting in radoswg

2022-02-19 Thread Yuval Lifshitz
Hi Koldo, Great to hear that you are using Lua scripting! Some of the fields that you use: Request.Object and Request.Bucket are marked as "optional" in the table. Meaning, that for some operations they may have nil value. Ideally, the script would check that, either by checking Request.RGWOp or by