Skip to content

Commit

Permalink
Merge pull request #10408 from weiqiaomiao/wqm-wip-rgw-lc-set
Browse files Browse the repository at this point in the history
rgw: fix wrong variable definition in rgw_cls_lc_set_entry function

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Aug 8, 2016
2 parents 7a7dad8 + 28c0539 commit 0e0c38d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cls/rgw/cls_rgw_client.cc
Expand Up @@ -714,11 +714,11 @@ int cls_rgw_lc_rm_entry(IoCtx& io_ctx, string& oid, pair<string, int>& entry)

int cls_rgw_lc_set_entry(IoCtx& io_ctx, string& oid, pair<string, int>& entry)
{
bufferlist in, out;
cls_rgw_lc_rm_entry_op call;
call.entry = entry;
::encode(call, in);
int r = io_ctx.exec(oid, "rgw", "lc_set_entry", in, out);
bufferlist in, out;
cls_rgw_lc_set_entry_op call;
call.entry = entry;
::encode(call, in);
int r = io_ctx.exec(oid, "rgw", "lc_set_entry", in, out);
return r;
}

Expand Down

0 comments on commit 0e0c38d

Please sign in to comment.