Skip to content

Commit 2b9b6c3

Browse files
committed
With old one, node default version needs to be set
1 parent 5f8e0cc commit 2b9b6c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/event-grid/resize-images-on-storage-blob-upload-event.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ blobStorageAccountKey=$(az storage account keys list -g $resourceGroupName -n $b
168168
169169
storageConnectionString=$(az storage account show-connection-string --resource-group $resourceGroupName --name $blobStorageAccount --query connectionString --output tsv)
170170
171-
az functionapp config appsettings set --name $functionapp --resource-group $resourceGroupName --settings FUNCTIONS_EXTENSION_VERSION=~2 BLOB_CONTAINER_NAME=thumbnails AZURE_STORAGE_ACCOUNT_NAME=$blobStorageAccount AZURE_STORAGE_ACCOUNT_ACCESS_KEY=$blobStorageAccountKey AZURE_STORAGE_CONNECTION_STRING=$storageConnectionString FUNCTIONS_WORKER_RUNTIME=node
171+
az functionapp config appsettings set --name $functionapp --resource-group $resourceGroupName --settings FUNCTIONS_EXTENSION_VERSION=~2 BLOB_CONTAINER_NAME=thumbnails AZURE_STORAGE_ACCOUNT_NAME=$blobStorageAccount AZURE_STORAGE_ACCOUNT_ACCESS_KEY=$blobStorageAccountKey AZURE_STORAGE_CONNECTION_STRING=$storageConnectionString FUNCTIONS_WORKER_RUNTIME=node WEBSITE_NODE_DEFAULT_VERSION=~10
172172
```
173173

174174
---
@@ -194,7 +194,7 @@ The sample Node.js resize function is available on [GitHub](https://github.com/A
194194
```azurecli-interactive
195195
az functionapp deployment source config --name $functionapp \
196196
--resource-group $resourceGroupName --branch master --manual-integration \
197-
--repo-url https://github.com/Azure-Samples/storage-blob-resize-function-node
197+
--repo-url https://github.com/Azure-Samples/storage-blob-resize-function-node-v10
198198
```
199199

200200
---

0 commit comments

Comments
 (0)