Azure / azure-capi-cli-extension

Kubernetes Cluster API support in the Azure CLI
MIT License
20 stars 18 forks source link

Fix resource group check #160

Closed mboersma closed 2 years ago

mboersma commented 2 years ago

The check_resource_group function was being called from AKS mgmt cluster creation, but that invocation apparently expected it to raise exceptions that it does not. I refactored it to return a boolean, which seems to fix az aks create -y in my testing. I also fixed some related unit tests to work regardless of AZURE_LOCATION being set.

Description

History Notes


This checklist is used to make sure that common guidelines for an Azure CLI pull request are followed.