1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

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>
This commit is contained in:
Martin Schwenke 2016-07-28 12:02:25 +10:00 committed by Martin Schwenke
parent 940272d215
commit d7ecc913bb

View File

@ -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);