summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2016-07-28 12:02:25 +1000
committerStefan Metzmacher <metze@samba.org>2016-08-10 11:24:38 +0200
commit5bcfc32fcc2f33517b03797ad51c4b5be32b57be (patch)
treef68b8e4fdb507b6302d4b98f08b825935acae689
parentae5f9b04e85af45866975f0355f1c0a43513f9e8 (diff)
downloadsamba-5bcfc32fcc2f33517b03797ad51c4b5be32b57be.tar.gz
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 <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit d7ecc913bb40783c8cf8c66e3c3e99e6df414381)
-rw-r--r--ctdb/server/ctdb_control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c
index f01815c93b1..4c6648380a6 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);