[BUG]$Location is removed from parameter, but still used in creating rg.
- Dominant language
- PowerShell
- Stars
- 66
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Use of un-declared parameter: $Location at line 399
https://github.com/Azure/AKS-Edge/blob/4e4c226a7fc9dbba11c6b0cc3e9e181a70f1e119/tools/scripts/AksEdgeQuickStart/AksEdgeQuickStartForAio.ps1#L399
See: https://github.com/Azure/AKS-Edge/pull/243/files#diff-8b1f1c59d3185cf64af0038defa5e67b1af745a032ef0af39152397500800845
missing -l/location
**To Reproduce**
Steps to reproduce the behavior:
1. Run command: AksEdgeQuickStartForAio.ps1 -aideUserConfigfile $aideConfig -aksedgeConfigFile $akseeConfig
2. See error
**Expected behavior**
The rg should be created successfully.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information):**
- AKS Edge Essentials Version [e.g. 3.22]
- Kubernetes version [e.g. 1.24.3]
- Windows Host OS (please complete the following information):
- Edition: [e.g. Professional, IoT Enterprise, Server, etc]
- Version: [e.g. build 17763]
- Virtual Machine: [eg. Azure VM, Local VM, Other, None]
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.