Skip to content

[BUG]$Location is removed from parameter, but still used in creating rg. #249

@peienluo

Description

@peienluo

Describe the bug
Use of un-declared parameter: $Location at line 399

$errOut = $($retVal = & {az group create --location $Location --resource-group $ResourceGroupName --subscription $SubscriptionId}) 2>&1

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions