this avoids the need to construct a temporary rgw_bucket_key just to
construct a rgw_bucket without an instance id
Signed-off-by: Casey Bodley <cbodley@redhat.com>
const std::string& _bucket_id) : tenant(_tenant),
name(_name),
bucket_id(_bucket_id) {}
+ rgw_bucket(const std::string& _tenant,
+ const std::string& _name)
+ : tenant(_tenant), name(_name) {}
rgw_bucket(const rgw_bucket_key& bk) : tenant(bk.tenant),
name(bk.name),
bucket_id(bk.bucket_id) {}