Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Log package_name_suffix configuration during startup
Browse files Browse the repository at this point in the history
Configuration of organizations is logged during startup. Also log
package_name_suffix if available.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
  • Loading branch information
Hunor Csomortáni authored and MartinBasti committed Jan 7, 2020
1 parent 33f2eac commit 67d65c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions omps/quay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 67d65c1

Please sign in to comment.