Skip to content

Commit 73a20fe

Browse files
committed
Fix iam and config issues, prepare for 5.3.3 release
1 parent fb8641e commit 73a20fe

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
66

77
====================
8-
5.3.2 - 2022-04-15
8+
5.3.3 - 2022-04-19
99
====================
1010

1111
Fixed

src/borneo/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ class NoSQLHandleConfig(object):
647647

648648
def __init__(self, endpoint=None, provider=None):
649649
# Inits a NoSQLHandleConfig object.
650-
endpoint_str = None
650+
endpoint_str = endpoint
651651
if endpoint is not None:
652652
if not isinstance(endpoint, (str, Region)):
653653
raise IllegalArgumentException(

src/borneo/iam/iam.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ def __init__(self, provider=None, config_file=None, profile_name=None,
142142
if provider is not None:
143143
if not isinstance(
144144
provider,
145-
(Signer,
146-
auth.signers.SecurityTokenSigner)):
145+
(Signer, SecurityTokenSigner)):
147146
raise IllegalArgumentException(
148147
'provider should be an instance of oci.signer.Signer or ' +
149148
'oci.auth.signers.SecurityTokenSigner.')
@@ -429,7 +428,7 @@ def _refresh_task(self):
429428
error_logged = True
430429

431430
# check for timeout in the loop
432-
if (int(round(time() * 1000)) - start_time >= timeout):
431+
if (int(round(time() * 1000)) - start_ms >= timeout):
433432
self._logutils.log_error(
434433
'Request signature refresh timed out after ' + str(timeout))
435434
break

src/borneo/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# https://oss.oracle.com/licenses/upl/
66
#
77

8-
__version__ = '5.3.2'
8+
__version__ = '5.3.3'

0 commit comments

Comments
 (0)