From 9be21f80c55918b6983652085121cc5c5a885186 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 23 Oct 2018 11:30:45 -0400 Subject: [PATCH] rgw: fix svc_zone compile with is_started() Signed-off-by: Casey Bodley --- src/rgw/services/svc_zone.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/services/svc_zone.cc b/src/rgw/services/svc_zone.cc index d01950415d3..799089571e6 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) { -- 2.39.5