From 140790f363f17af1d10c8e601970c1aa5ac92dd0 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 28 Jul 2016 12:02:25 +1000 Subject: [PATCH] ctdb-daemon: Clean up SET_DB_PRIORITY/GET_DB_PRIORITY deprecation The current message is broken: Control SET_DB_PRIORITY is not implemented any more, use instead BUG: https://bugzilla.samba.org/show_bug.cgi?id=12126 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs (cherry picked from commit d7ecc913bb40783c8cf8c66e3c3e99e6df414381) --- ctdb/server/ctdb_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c index f01815c..4c66483 100644 --- a/ctdb/server/ctdb_control.c +++ b/ctdb/server/ctdb_control.c @@ -565,10 +565,10 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, return ctdb_control_get_ban_state(ctdb, outdata); case CTDB_CONTROL_SET_DB_PRIORITY: - return control_not_implemented("SET_DB_PRIORITY", ""); + return control_not_implemented("SET_DB_PRIORITY", NULL); case CTDB_CONTROL_GET_DB_PRIORITY: - return control_not_implemented("GET_DB_PRIORITY", ""); + return control_not_implemented("GET_DB_PRIORITY", NULL); case CTDB_CONTROL_TRANSACTION_CANCEL: return control_not_implemented("TRANSACTION_CANCEL", NULL); -- 2.8.1