Skip to content

Commit

Permalink
Update replica.py
Browse files Browse the repository at this point in the history
  • Loading branch information
droideck committed Jan 10, 2025
1 parent cb6b559 commit 19c8f9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib389/lib389/replica.py
Original file line number Diff line number Diff line change
Expand Up @@ -2013,7 +2013,7 @@ def _create_service_group(self, from_instance):
return repl_group
else:
try:
repl_group = groups.get('replication_managers')
repl_group = groups.get(dn=f'cn=replication_managers,{self._suffix}')
return repl_group
except ldap.NO_SUCH_OBJECT:
self._log.warning("{} doesn't have cn=replication_managers,{} entry \
Expand Down Expand Up @@ -2537,8 +2537,8 @@ def wait_for_replication(self, from_instance, to_instance, timeout=60):
# Touch something then wait_for_replication.
from_groups = Groups(from_instance, basedn=self._suffix, rdn=None)
to_groups = Groups(to_instance, basedn=self._suffix, rdn=None)
from_group = from_groups.get('replication_managers')
to_group = to_groups.get('replication_managers')
from_group = from_groups.get(dn=f'cn=replication_managers,{self._suffix}')
to_group = to_groups.get(dn=f'cn=replication_managers,{self._suffix}')

change = str(uuid.uuid4())

Expand Down

0 comments on commit 19c8f9d

Please sign in to comment.