diff options
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. |