diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-09 09:31:28 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-09 12:33:06 -0700 |
commit | 1563613d83aa6937529fda8e09a0f59ff939712d (patch) | |
tree | 6d29c925e98c3e2837d9d372754c2d5412344b31 | |
parent | 0aacd10e2557c55021b5be72ddf39b9cea916be4 (diff) | |
download | ceph-1563613d83aa6937529fda8e09a0f59ff939712d.tar.gz |
rgw: rename data receive callbacks in swift token revocation
Fixes: #5921
As part of the work that was made for dumpling, the http
client in-data callback was renamed in order to avoid confusion.
However, we missed the rename in a couple of places, which this
patch amend.
Reported-by: Roald van Loon <roaldvanloon@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | src/rgw/rgw_swift.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc index 9be9757e5f8..dcf6230207b 100644 --- a/src/rgw/rgw_swift.cc +++ b/src/rgw/rgw_swift.cc @@ -291,7 +291,7 @@ class RGWValidateKeystoneToken : public RGWHTTPClient { public: RGWValidateKeystoneToken(CephContext *_cct, bufferlist *_bl) : RGWHTTPClient(_cct), bl(_bl) {} - int read_data(void *ptr, size_t len) { + int receive_data(void *ptr, size_t len) { bl->append((char *)ptr, len); return 0; } @@ -304,7 +304,7 @@ class RGWGetRevokedTokens : public RGWHTTPClient { public: RGWGetRevokedTokens(CephContext *_cct, bufferlist *_bl) : RGWHTTPClient(_cct), bl(_bl) {} - int read_data(void *ptr, size_t len) { + int receive_data(void *ptr, size_t len) { bl->append((char *)ptr, len); return 0; } |