Skip to content

Commit 4d09ec2

Browse files
committed
refactor
1 parent 8f93136 commit 4d09ec2

File tree

1 file changed

+1
-8
lines changed
  • samples/function-app-storage-http/dotnet/scripts

1 file changed

+1
-8
lines changed

samples/function-app-storage-http/dotnet/scripts/deploy.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@ ENVIRONMENT=$(az account show --query environmentName --output tsv)
2424
# Change the current directory to the script's directory
2525
cd "$CURRENT_DIR" || exit
2626

27-
# Choose the appropriate CLI based on the environment
28-
if [[ $ENVIRONMENT == "LocalStack" ]]; then
29-
echo "Using func for LocalStack emulator environment."
30-
FUNC="func"
31-
else
32-
echo "Using standard func for AzureCloud environment."
33-
FUNC="func"
34-
fi
27+
FUNC="func"
3528

3629
# Create a resource group
3730
echo "Checking if resource group [$RESOURCE_GROUP_NAME] exists in the subscription [$SUBSCRIPTION_NAME]..."

0 commit comments

Comments
 (0)