diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2013-12-16 15:57:42 +1100 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2014-01-16 11:41:12 +1100 |
| commit | 7aa20ccb5c747707fca349e9e0847cd0fca8c839 (patch) | |
| tree | c946934fc6102f440539d4221bba8b8f820b0b6c /ctdb/include | |
| parent | bafa467021b7b2f17c61904b9f70f695a4395921 (diff) | |
ctdb-daemon: No need to call event scripts with CTDB_CALLED_BY_USER
This was added to support external monitoring using CTDB event scripts.
However, it was never used.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 71c9f139b1..c099a02247 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1245,9 +1245,8 @@ int ctdb_event_script_callback(struct ctdb_context *ctdb, TALLOC_CTX *mem_ctx, void (*callback)(struct ctdb_context *, int, void *), void *private_data, - bool from_user, enum ctdb_eventscript_call call, - const char *fmt, ...) PRINTF_ATTRIBUTE(7,8); + const char *fmt, ...) PRINTF_ATTRIBUTE(6,7); void ctdb_release_all_ips(struct ctdb_context *ctdb); void set_nonblocking(int fd); |
