]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: check for status >= 0
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 22 Apr 2016 00:24:16 +0000 (17:24 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 9 May 2016 23:00:14 +0000 (16:00 -0700)
commit1d12f82a24f78769bcebb32cb379445e04f35e46
treeb32c8b6cd38500a63aa7f904be303540e7539cc6
parenta288a054c18fedda9ac3230d392f5a41a140ca9a
rgw: check for status >= 0

Fixes: #15565
check only verified that status was > 0, so we ended not updating mtime for
the target object. This resulted in a continuous sync of objects.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 255f19d9ef964536f2db17f70749f489330262a6)
src/rgw/rgw_rest_client.cc