Skip to content

Commit

Permalink
Merge pull request ceph#46617 from yuvalif/wip-yuval-fix-55978
Browse files Browse the repository at this point in the history
rgw/lua: pass correct value to "toplevel" param

Reviewed-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley authored Jun 10, 2022
2 parents ffda5e5 + c1b7bcb commit 991e56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_lua_request.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 991e56e

Please sign in to comment.