Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
5d0477eb1bda0f895ed2ee19db6f9cd3fc47f900)
`empty` takes `Object*`, not `std::unique_ptr<Object>'
Signed-off-by: Adam Emerson <aemerson@redhat.com>
object-storage-feature-enabled:
container_sync: false
discoverability: true
- # TODO(tobias-urdin): Use sha256 when supported in RadosGW
- tempurl_digest_hashlib: sha1
blocklist:
- .*test_account_quotas_negative.AccountQuotasNegativeTest.test_user_modify_quota
- .*test_container_acl_negative.ObjectACLsNegativeTest.*
const string& bucket_name = s->init_state.url_bucket;
/* TempURL requires that bucket and object names are specified. */
- if (bucket_name.empty() || rgw::sal::Object::empty(s->object)) {
+ if (bucket_name.empty() || rgw::sal::Object::empty(s->object.get())) {
throw -EPERM;
}