From 2e5822cef8f695b0dff7b4d0f295d1c0ab0fadb2 Mon Sep 17 00:00:00 2001 From: Simon Pichugin Date: Fri, 10 Jan 2025 13:51:14 -0800 Subject: [PATCH] Update replica.py --- src/lib389/lib389/replica.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib389/lib389/replica.py b/src/lib389/lib389/replica.py index 626c4bba2..469247bfb 100644 --- a/src/lib389/lib389/replica.py +++ b/src/lib389/lib389/replica.py @@ -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,