Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D7364200B6F for ; Wed, 24 Aug 2016 21:22:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D23D7160AC6; Wed, 24 Aug 2016 19:22:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4C597160AC2 for ; Wed, 24 Aug 2016 21:22:23 +0200 (CEST) Received: (qmail 10077 invoked by uid 500); 24 Aug 2016 19:22:17 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 10067 invoked by uid 99); 24 Aug 2016 19:22:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 19:22:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5CCEADFB91; Wed, 24 Aug 2016 19:22:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: iilyak@apache.org To: commits@couchdb.apache.org Date: Wed, 24 Aug 2016 19:22:17 -0000 Message-Id: <5e35c5b4928f42d0a1303dbfb6fa9c10@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] config commit: updated refs/heads/master to a83b75e archived-at: Wed, 24 Aug 2016 19:22:29 -0000 Repository: couchdb-config Updated Branches: refs/heads/master b615eedb5 -> a83b75ef4 handle_event expected to return {ok, State} Fix return value of handle_event callback. COUCHDB-3102 Project: http://git-wip-us.apache.org/repos/asf/couchdb-config/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-config/commit/58aee651 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-config/tree/58aee651 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-config/diff/58aee651 Branch: refs/heads/master Commit: 58aee6517b6b7af0e88616a7820690d418b32d66 Parents: b615eed Author: ILYA Khlopotov Authored: Wed Aug 24 12:01:43 2016 -0700 Committer: ILYA Khlopotov Committed: Wed Aug 24 12:21:01 2016 -0700 ---------------------------------------------------------------------- src/config_notifier.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-config/blob/58aee651/src/config_notifier.erl ---------------------------------------------------------------------- diff --git a/src/config_notifier.erl b/src/config_notifier.erl index 52fc4c0..6add8d6 100644 --- a/src/config_notifier.erl +++ b/src/config_notifier.erl @@ -45,7 +45,8 @@ init({Subscriber, Subscription}) -> {ok, {Subscriber, Subscription}}. handle_event({config_change, _, _, _, _} = Event, {Subscriber, Subscription}) -> - maybe_notify(Event, Subscriber, Subscription). + maybe_notify(Event, Subscriber, Subscription), + {ok, {Subscriber, Subscription}}. handle_call(_Request, St) -> {ok, ignored, St}.