Skip to content

Commit

Permalink
Fix iam and config issues, prepare for 5.3.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gmfeinberg committed Apr 19, 2022
1 parent fb8641e commit 73a20fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.

====================
5.3.2 - 2022-04-15
5.3.3 - 2022-04-19
====================

Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/borneo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ class NoSQLHandleConfig(object):

def __init__(self, endpoint=None, provider=None):
# Inits a NoSQLHandleConfig object.
endpoint_str = None
endpoint_str = endpoint
if endpoint is not None:
if not isinstance(endpoint, (str, Region)):
raise IllegalArgumentException(
Expand Down
5 changes: 2 additions & 3 deletions src/borneo/iam/iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ def __init__(self, provider=None, config_file=None, profile_name=None,
if provider is not None:
if not isinstance(
provider,
(Signer,
auth.signers.SecurityTokenSigner)):
(Signer, SecurityTokenSigner)):
raise IllegalArgumentException(
'provider should be an instance of oci.signer.Signer or ' +
'oci.auth.signers.SecurityTokenSigner.')
Expand Down Expand Up @@ -429,7 +428,7 @@ def _refresh_task(self):
error_logged = True

# check for timeout in the loop
if (int(round(time() * 1000)) - start_time >= timeout):
if (int(round(time() * 1000)) - start_ms >= timeout):
self._logutils.log_error(
'Request signature refresh timed out after ' + str(timeout))
break
Expand Down
2 changes: 1 addition & 1 deletion src/borneo/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# https://oss.oracle.com/licenses/upl/
#

__version__ = '5.3.2'
__version__ = '5.3.3'

0 comments on commit 73a20fe

Please sign in to comment.