]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-daemon: Clean up SET_DB_PRIORITY/GET_DB_PRIORITY deprecation
authorMartin Schwenke <martin@meltin.net>
Thu, 28 Jul 2016 02:02:25 +0000 (12:02 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 8 Aug 2016 06:17:34 +0000 (08:17 +0200)
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>
ctdb/server/ctdb_control.c

index f01815c93b14351f242cf71c7f0b85f6816b6bc9..4c6648380a6ec0b1c88a3501d5735bca10e3516d 100644 (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);