ctdbd: Remove references to forcing running of eventscripts from log messages
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Oct 2012 05:10:19 +0000 (16:10 +1100)
committerMartin Schwenke <martin@meltin.net>
Thu, 18 Oct 2012 09:05:43 +0000 (20:05 +1100)
Running of eventscripts can be initiated from many places, including
the recovery daemon.

Signed-off-by: Martin Schwenke <martin@meltin.net>
server/eventscript.c

index 3b9ec93585f52b562bc5da6d0db8024ae1811549..6a75877bff8a2e306531d46be0e6ff744dbfe79d 100644 (file)
@@ -933,7 +933,7 @@ static void run_eventscripts_callback(struct ctdb_context *ctdb, int status,
        ctdb_enable_monitoring(ctdb);
 
        if (status != 0) {
-               DEBUG(DEBUG_ERR,(__location__ " Failed to forcibly run eventscripts\n"));
+               DEBUG(DEBUG_ERR,(__location__ " Failed to run eventscripts\n"));
        }
 
        ctdb_request_control_reply(ctdb, state->c, NULL, status, NULL);
@@ -979,7 +979,7 @@ int32_t ctdb_run_eventscripts(struct ctdb_context *ctdb,
        /* Figure out what call they want. */
        options = get_call((const char *)indata.dptr, &call);
        if (!options) {
-               DEBUG(DEBUG_ERR, (__location__ " Invalid forced \"%s\"\n", (const char *)indata.dptr));
+               DEBUG(DEBUG_ERR, (__location__ " Invalid event name \"%s\"\n", (const char *)indata.dptr));
                return -1;
        }