From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A67D424F9D for ; Sun, 8 Sep 2019 08:25:13 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zCP5EBMUuVu6 for ; Sun, 8 Sep 2019 08:23:30 -0400 (EDT) Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 80B4824EF9 for ; Sun, 8 Sep 2019 08:23:29 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 1/1] box: raise an error on nil replicaset and instance uuid From: Vladislav Shpilevoy References: Message-ID: <2dfb219c-bdcf-b3d7-8260-c0020d4bd95d@tarantool.org> Date: Sun, 8 Sep 2019 14:27:05 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: alexander.turenko@tarantool.org 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")); } }