internal/boot/azure: set storage account

This was lost in a refactor.
This commit is contained in:
Tom Gundersen 2021-03-05 19:48:29 +00:00
parent b062d1070d
commit 271960585b

View file

@ -83,8 +83,9 @@ func GetAzureCredentialsFromEnv() (*azureCredentials, error) {
// UploadImageToAzure mimics the upload feature of osbuild-composer.
func UploadImageToAzure(c *azureCredentials, imagePath string, imageName string) error {
metadata := azure.BlobMetadata{
ContainerName: c.ContainerName,
BlobName: imageName,
StorageAccount: c.StorageAccount,
ContainerName: c.ContainerName,
BlobName: imageName,
}
client, err := azure.NewStorageClient(c.StorageAccount, c.StorageAccessKey)
if err != nil {