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

Commit

Permalink
Log info about configured organizations
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Bašti <mbasti@redhat.com>
  • Loading branch information
MartinBasti authored and csomh committed Mar 15, 2019
1 parent 46f418e commit 231c06f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions omps/quay.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ def __init__(self):
def initialize(self, config):
self.validate_conf(config.organizations)
self._organizations = config.organizations
for org_name, org_conf in self._organizations.items():
logger.info(
'Organization "%s" configured: public=%s, oauth_access=%s',
org_name,
org_conf.get('public', False),
bool(org_conf.get('oauth_token')),
)

def get_org(self, organization, cnr_token):
org_config = self._organizations.get(organization, {})
Expand Down

0 comments on commit 231c06f

Please sign in to comment.