This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository 389-ds-base.
commit 1de8c2f9f008e37634ddd6adde83e95b6a657144
Author: Rich Megginson <rmeggins(a)redhat.com>
Date: Wed Nov 20 19:19:09 2013 -0700
need to set correct replica type
Reviewed by: tbordaz (Thanks!)
---
src/lib389/lib389/brooker.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/lib389/lib389/brooker.py b/src/lib389/lib389/brooker.py
index a51a92b..e067fba 100644
--- a/src/lib389/lib389/brooker.py
+++ b/src/lib389/lib389/brooker.py
@@ -656,6 +656,10 @@ class Replica(object):
TODO: this method does not update replica type
"""
# set default values
+ if rtype == MASTER_TYPE:
+ rtype = REPLICA_RDWR_TYPE
+ else:
+ rtype = REPLICA_RDONLY_TYPE
if legacy:
legacy = 'on'
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.