[tarantool-patches] Re: [PATCH 1/1] box: raise an error on nil replicaset and instance uuid

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Sep 8 15:27:05 MSK 2019


Changed error message as asked by Kostja:

diff --git a/src/box/box.cc b/src/box/box.cc
index 921bc5c42..015994da1 100644
--- a/src/box/box.cc
+++ b/src/box/box.cc
@@ -491,7 +491,7 @@ box_check_uuid(struct tt_uuid *uuid, const char *name)
 		tnt_raise(ClientError, ER_CFG, name, uuid_str);
 	if (tt_uuid_is_nil(uuid)) {
 		tnt_raise(ClientError, ER_CFG, name,
-			  tt_sprintf("nil UUID is a reserved value"));
+			  tt_sprintf("nil UUID is reserved"));
 	}
 }
 




More information about the Tarantool-patches mailing list