diff options
Diffstat (limited to 'ctdb/server/eventscript.c')
-rw-r--r-- | ctdb/server/eventscript.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index 9cd95378c1..d1effbe7ae 100644 --- a/ctdb/server/eventscript.c +++ b/ctdb/server/eventscript.c @@ -604,6 +604,7 @@ static bool check_options(enum ctdb_eventscript_call call, const char *options) switch (call) { /* These all take no arguments. */ case CTDB_EVENT_INIT: + case CTDB_EVENT_SETUP: case CTDB_EVENT_STARTUP: case CTDB_EVENT_START_RECOVERY: case CTDB_EVENT_RECOVERED: @@ -668,6 +669,7 @@ static int ctdb_event_script_callback_v(struct ctdb_context *ctdb, while in recovery */ const enum ctdb_eventscript_call allowed_calls[] = { CTDB_EVENT_INIT, + CTDB_EVENT_SETUP, CTDB_EVENT_START_RECOVERY, CTDB_EVENT_SHUTDOWN, CTDB_EVENT_RELEASE_IP, |