summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_lua_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_lua_request.cc')
-rw-r--r--src/rgw/rgw_lua_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_lua_request.cc b/src/rgw/rgw_lua_request.cc
index 6d324d4fc..551f5fd72 100644
--- a/src/rgw/rgw_lua_request.cc
+++ b/src/rgw/rgw_lua_request.cc
@@ -786,7 +786,7 @@ struct RequestMetaTable : public EmptyMetaTable {
create_metatable<ObjectMetaTable>(L, false, s->object);
} else if (strcasecmp(index, "CopyFrom") == 0) {
if (s->op_type == RGW_OP_COPY_OBJ) {
- create_metatable<CopyFromMetaTable>(L, s);
+ create_metatable<CopyFromMetaTable>(L, false, s);
} else {
lua_pushnil(L);
}