diff --git a/tap_gitlab/__init__.py b/tap_gitlab/__init__.py index e7f812f..a109139 100644 --- a/tap_gitlab/__init__.py +++ b/tap_gitlab/__init__.py @@ -1205,6 +1205,7 @@ def do_sync(): gitLocal = GitLocal({ 'access_token': CONFIG['private_token'], 'workingDir': '/tmp', + 'proxy': os.environ.get("MINWARE_PROXY") if not domain.endswith('gitlab.com') else None }, 'https://oauth2:{}@' + domain + '/{}.git', CONFIG['hmac_token'] if 'hmac_token' in CONFIG else None) @@ -1301,8 +1302,6 @@ def main_impl(): CATALOG = args.catalog if args.catalog else do_discover(select_all=True) do_sync() - LOGGER.info(str(CATALOG)) - def main(): try: main_impl()