From: Casey Bodley Date: Tue, 23 Oct 2018 15:30:45 +0000 (-0400) Subject: rgw: fix svc_zone compile with is_started() X-Git-Tag: v14.1.0~965^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9be21f80c55918b6983652085121cc5c5a885186;p=ceph.git rgw: fix svc_zone compile with is_started() Signed-off-by: Casey Bodley --- diff --git a/src/rgw/services/svc_zone.cc b/src/rgw/services/svc_zone.cc index d01950415d3f..799089571e6f 100644 --- a/src/rgw/services/svc_zone.cc +++ b/src/rgw/services/svc_zone.cc @@ -54,7 +54,7 @@ int RGWSI_Zone::do_start() return ret; } - assert(sysobj_svc->start_state == StateStarted); /* if not then there's ordering issue */ + assert(sysobj_svc->is_started()); /* if not then there's ordering issue */ ret = rados_svc->start(); if (ret < 0) {