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 E8141267A2 for ; Mon, 4 Jun 2018 08:12:24 -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 hOAVzgSMQ_lq for ; Mon, 4 Jun 2018 08:12:24 -0400 (EDT) Received: from smtp5.mail.ru (smtp5.mail.ru [94.100.179.24]) (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 A4BB2266D3 for ; Mon, 4 Jun 2018 08:12:24 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v2][vshard] Check self passed to object methods References: <20180604111226.8446-1-avkhatskevich@tarantool.org> From: Vladislav Shpilevoy Message-ID: <0ee4cf31-6134-80d7-e610-85c75194ea70@tarantool.org> Date: Mon, 4 Jun 2018 15:12:22 +0300 MIME-Version: 1.0 In-Reply-To: <20180604111226.8446-1-avkhatskevich@tarantool.org> Content-Type: text/plain; charset=utf-8; format=flowed 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, AKhatskevich Pushed with my minor fixes. On 04/06/2018 14:12, AKhatskevich wrote: > Changes: > > 1. `check_self_arg` function wrapper added to utils. > Its mechanics: > * check that the first argument has expected metatable > * return result of a real function > > 2. Check, that self argument is passed to all replicaset and replica > object methods. > > Closes: #81 > --- > Branch: https://github.com/tarantool/vshard/tree/kh/gh-81-wo-mt-sort > Issue: https://github.com/tarantool/vshard/issues/81 >