mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-15 00:05:53 +08:00
Update azure_sas_conn.py - fixing container_url typo (#2740)
### What problem does this PR solve? Fixes #2739 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
2e33ed3ba0
commit
d92acdcf1d
@ -23,10 +23,10 @@ class RAGFlowAzureSasBlob(object):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.conn = ContainerClient.from_container_url(self.account_url + "?" + self.sas_token)
|
self.conn = ContainerClient.from_container_url(self.container_url + "?" + self.sas_token)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
azure_logger.error(
|
azure_logger.error(
|
||||||
"Fail to connect %s " % self.account_url + str(e))
|
"Fail to connect %s " % self.container_url + str(e))
|
||||||
|
|
||||||
def __close__(self):
|
def __close__(self):
|
||||||
del self.conn
|
del self.conn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user