Skip to content

Commit

Permalink
Fix logging (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
wild-endeavor authored Jun 3, 2020
1 parent e65b1bb commit 79b1117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flytekit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

import flytekit.plugins

__version__ = '0.8.1'
__version__ = '0.8.2'
2 changes: 1 addition & 1 deletion flytekit/clients/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _refresh_credentials_basic(flyte_client):
auth_endpoints = _credentials_access.get_authorization_endpoints()
token_endpoint = auth_endpoints.token_endpoint
client_secret = _basic_auth.get_secret()
_logging.debug('Basic authorization flow with client id {} scope {}', _CLIENT_ID.get(), _SCOPE.get())
_logging.debug('Basic authorization flow with client id {} scope {}'.format(_CLIENT_ID.get(), _SCOPE.get()))
authorization_header = _basic_auth.get_basic_authorization_header(_CLIENT_ID.get(), client_secret)
token, expires_in = _basic_auth.get_token(token_endpoint, authorization_header, _SCOPE.get())
_logging.info('Retrieved new token, expires in {}'.format(expires_in))
Expand Down

0 comments on commit 79b1117

Please sign in to comment.