]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix svc_zone compile with is_started()
authorCasey Bodley <cbodley@redhat.com>
Tue, 23 Oct 2018 15:30:45 +0000 (11:30 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 8 Nov 2018 17:19:30 +0000 (09:19 -0800)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/services/svc_zone.cc

index d01950415d3f8e36d7c96e684e921990d934338e..799089571e6f241855abac61078d6681a8725baf 100644 (file)
@@ -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) {