From 67d65c1354b59e0b9129c8714fe9e45717f7975b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hunor=20Csomort=C3=A1ni?= Date: Tue, 7 Jan 2020 14:19:42 +0100 Subject: [PATCH] Log package_name_suffix configuration during startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Configuration of organizations is logged during startup. Also log package_name_suffix if available. Signed-off-by: Hunor Csomortáni --- omps/quay.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/omps/quay.py b/omps/quay.py index aabd59e..9fceec7 100644 --- a/omps/quay.py +++ b/omps/quay.py @@ -188,11 +188,12 @@ def initialize(self, config): for org_name, org_conf in self._organizations.items(): logger.info( 'Organization "%s" configured: public=%s, oauth_access=%s, ' - 'replacing_registry_enabled=%s', + 'replacing_registry_enabled=%s, package_name_suffix=%s', org_name, org_conf.get('public', False), bool(org_conf.get('oauth_token')), - bool(org_conf.get('replace_registry')) + bool(org_conf.get('replace_registry')), + org_conf.get('package_name_suffix'), ) def get_org(self, organization, cnr_token):