mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
rgw/lua: pass correct value to "toplevel" param
Fixes: https://tracker.ceph.com/issues/55978 Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
This commit is contained in:
parent
16b73f58c6
commit
c1b7bcb2c0
@ -494,7 +494,7 @@ struct PolicyMetaTable : public EmptyMetaTable {
|
||||
pushstring(L, policy->id.get());
|
||||
}
|
||||
} else if (strcasecmp(index, "Statements") == 0) {
|
||||
create_metatable<StatementsMetaTable>(L, &(policy->statements));
|
||||
create_metatable<StatementsMetaTable>(L, false, &(policy->statements));
|
||||
} else {
|
||||
return error_unknown_field(L, index, TableName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user