diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-04 10:51:38 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-07-04 10:51:38 -0400 |
commit | 34d0454da8df940884804a82405ae03638816abc (patch) | |
tree | 7fd65504e461ff0a56d808197852c50745135f9d /src | |
parent | 6e6d8021855cb797e0312164d27b9e00b3c29411 (diff) |
talk to main_pid, not update_pid
Diffstat (limited to 'src')
-rw-r--r-- | src/fabric_rpc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl index 2baaf49a..e2dc88b9 100644 --- a/src/fabric_rpc.erl +++ b/src/fabric_rpc.erl @@ -198,8 +198,8 @@ group_info(DbName, Group0) -> reset_validation_funs(DbName) -> case couch_db:open(DbName, []) of - {ok, Db} -> - gen_server:cast(Db#db.update_pid, {load_validation_funs, undefined}); + {ok, #db{main_pid = Pid}} -> + gen_server:cast(Pid, {load_validation_funs, undefined}); _ -> ok end. |