Azure / Azure/MachineLearningNotebooks

DockerBuildContext.from_local_directory is using the incorrect variable for the storage account url

Aperta
#1,828 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
4.4k
Fork
2.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'd been trying to create an environment using a local directory but I kept running into the following error:

```
ValueError: Invalid URL: https:///subscriptions//resourceGroups//providers/Microsoft.Storage/storageAccounts/
```

On further inspection, I noticed that in the `from_local_directory` function, the incorrect variable is probably being passed to the `account_url` argument of the `BlobServiceClient` constructor. I suppose a storage account URL needs to be constructed using the storage account name and endpoint. However, the `storage_account_full` variable, is being passed to it instead.

**azureml-core version: 1.45.0.post2**

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.