]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: delay allocation of RGWPeriod
authorCasey Bodley <cbodley@redhat.com>
Tue, 8 Sep 2015 17:45:05 +0000 (13:45 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:12:43 +0000 (16:12 -0800)
commitbe17da5e1d13bbe34839e28410d238c93389c847
tree36b4ca8f4be916ae94d3bb0fa279b84f6691d7fb
parentdfadc9f705f413bf9fef75cb4168193bb5c6f4c2
rgw: delay allocation of RGWPeriod

RGWOp_Period_Get and _Post don't have a valid RGWRados pointer until
they get the init() call, so the constructors were passing NULL to
RGWPeriod

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rest_config.cc
src/rgw/rgw_rest_config.h