diff options
author | Casey Bodley <cbodley@users.noreply.github.com> | 2018-02-22 20:07:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 20:07:55 +0100 |
commit | 992c19ab673a379896f40b926b563d8c1e3d6034 (patch) | |
tree | e134e1f682dcb6514cfd00db1f3c8beb02b668b4 /src/rgw/rgw_common.h | |
parent | Merge pull request #13644 from yehudasa/wip-rgw-ragweed (diff) | |
parent | rgw: parse old rgw_obj with namespace correctly (diff) | |
download | ceph-992c19ab673a379896f40b926b563d8c1e3d6034.tar.xz ceph-992c19ab673a379896f40b926b563d8c1e3d6034.zip |
Merge pull request #20425 from yehudasa/wip-22982
rgw: parse old rgw_obj with namespace correctly
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_common.h')
-rw-r--r-- | src/rgw/rgw_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index d0c4e4c9f6c..12e81c29d27 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -2062,7 +2062,7 @@ struct rgw_obj { if (pos < 0) { throw buffer::error(); } - key.name = key.name.substr(pos); + key.name = key.name.substr(pos + 1); } } } else { |