mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
rgw/rgw_op: fix some more whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
075368d89a
commit
cb57eccb41
@ -702,7 +702,8 @@ int RGWGetObjTags::verify_permission()
|
||||
return 0;
|
||||
}
|
||||
|
||||
void RGWGetObjTags::pre_exec(){
|
||||
void RGWGetObjTags::pre_exec()
|
||||
{
|
||||
rgw_bucket_object_pre_exec(s);
|
||||
}
|
||||
|
||||
@ -736,12 +737,10 @@ int RGWPutObjTags::verify_permission()
|
||||
|
||||
void RGWPutObjTags::execute()
|
||||
{
|
||||
|
||||
op_ret = get_params();
|
||||
if (op_ret < 0)
|
||||
return;
|
||||
|
||||
|
||||
if (s->object.empty()){
|
||||
op_ret= -EINVAL; // we only support tagging on existing objects
|
||||
return;
|
||||
@ -756,14 +755,15 @@ void RGWPutObjTags::execute()
|
||||
}
|
||||
}
|
||||
|
||||
void RGWDeleteObjTags::pre_exec(){
|
||||
void RGWDeleteObjTags::pre_exec()
|
||||
{
|
||||
rgw_bucket_object_pre_exec(s);
|
||||
}
|
||||
|
||||
|
||||
int RGWDeleteObjTags::verify_permission(){
|
||||
|
||||
if (!s->object.empty()){
|
||||
int RGWDeleteObjTags::verify_permission()
|
||||
{
|
||||
if (!s->object.empty()) {
|
||||
if (!verify_object_permission(s,
|
||||
s->object.instance.empty() ?
|
||||
rgw::IAM::s3DeleteObjectTagging:
|
||||
|
Loading…
Reference in New Issue
Block a user