Skip to content

Commit 90a9f4f

Browse files
committed
refetch s3 credential
1 parent 5e04e8a commit 90a9f4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/hsfs/storage_connector.py

+1
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def prepare_spark(self, path: Optional[str] = None) -> Optional[str]:
373373

374374
def connector_options(self) -> Dict[str, Any]:
375375
"""Return options to be passed to an external S3 connector library"""
376+
self.refetch()
376377
return {
377378
"access_key": self.access_key,
378379
"secret_key": self.secret_key,

0 commit comments

Comments
 (0)