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

Log info about configured organizations #41

Merged
merged 1 commit into from
Mar 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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