Kaynağa Gözat

fix the wrong env variable AZURE_BLOB_CONTAINER_NAME (#4455)

tags/0.6.9
Jyong 1 yıl önce
ebeveyn
işleme
bdd409970f
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      api/extensions/storage/azure_storage.py

+ 1
- 1
api/extensions/storage/azure_storage.py Dosyayı Görüntüle

@@ -14,7 +14,7 @@ class AzureStorage(BaseStorage):
def __init__(self, app: Flask):
super().__init__(app)
app_config = self.app.config
self.bucket_name = app_config.get('AZURE_STORAGE_CONTAINER_NAME')
self.bucket_name = app_config.get('AZURE_BLOB_CONTAINER_NAME')
sas_token = generate_account_sas(
account_name=app_config.get('AZURE_BLOB_ACCOUNT_NAME'),
account_key=app_config.get('AZURE_BLOB_ACCOUNT_KEY'),

Loading…
İptal
Kaydet