Skip to content

Commit

Permalink
Merge pull request #11961 from tianshan/fix-RGWSimpleRadosLockCR
Browse files Browse the repository at this point in the history
rgw: fix RGWSimpleRadosLockCR set_description()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Nov 17, 2016
2 parents 7bab807 + 6e1c3dc commit 1cf0f1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rgw/rgw_cr_rados.cc
Expand Up @@ -333,8 +333,7 @@ RGWSimpleRadosLockCR::RGWSimpleRadosLockCR(RGWAsyncRadosProcessor *_async_rados,
pool(_pool), oid(_oid),
req(NULL)
{
stringstream s;
s << "rados lock dest=" << pool << "/" << oid << " lock=" << lock_name << " cookie=" << cookie << " duration=" << duration;
set_description() << "rados lock dest=" << pool << "/" << oid << " lock=" << lock_name << " cookie=" << cookie << " duration=" << duration;
}

void RGWSimpleRadosLockCR::request_cleanup()
Expand Down

0 comments on commit 1cf0f1e

Please sign in to comment.