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 8d7ee76 commit 2e5822c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib389/lib389/replica.py
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ def _create_service_account(self, from_instance, to_instance):
services = ServiceAccounts(from_instance, self._suffix)
# Generate the password and save the credentials
# for putting them into agreements in the future
service_name = '{}:{}'.format(to_instance.host, port)
service_name = f'{self._suffix}:{to_instance.host}:{port}'
creds = password_generate()
repl_service = services.ensure_state(properties={
'cn': service_name,
Expand Down

0 comments on commit 2e5822c

Please sign in to comment.