Typo on Bash code snippet
Under the "Create a resource group and Azure Container Registry" sub heading in Step 3:
ACR_PASSWORD=$(az acr credential show
--resource-group web-app-simple-rg
--name webappacr123
--query "passwords[?name == 'password'].value"
--output tsv)
should be
$ACR_PASSWORD=(az acr credential show
--resource-group web-app-simple-rg
--name webappacr123
--query "passwords[?name == 'password'].value"
--output tsv)
- Package Name:
- Package Version:
- Operating System:
- Python Version:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: 1.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Thank you for your feedback. Tagging and routing to the team member best able to assist.
@biggernaaz can you share a link for where you see this typo? I can't find it. Thanks!
Hi @biggernaaz. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
@biggernaaz can you share a link for where you see this typo? I can't find it. Thanks!
Hi @kristapratico - https://learn.microsoft.com/en-us/azure/developer/python/tutorial-containerize-simple-web-app-for-app-service?tabs=web-app-flask
In this code snippet the $ needs to be in front of "ACR_PASSWORD=" I believe.
ACR_PASSWORD=$(az acr credential show
--resource-group web-app-simple-rg
--name webappacr123
--query "passwords[?name == 'password'].value"
--output tsv)
Corrected version:
$ACR_PASSWORD=(az acr credential show
--resource-group web-app-simple-rg
--name webappacr123
--query "passwords[?name == 'password'].value"
--output tsv)
Hi @biggernaaz , thanks for your feedback! Our doc team is working on it, I'll update here when the snippet is updated.
@biggernaaz We've merged the fix in our end, the portal content would get updated soon.
@biggernaaz We've merged the fix in our end, the portal content would get updated soon.
You're very welcome @YalinLi0312. Thanks for the heads-up.