mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add reason message logs for non-exist Azure resources **What this PR does / why we need it**: In azure_wrap.go the function checkResourceExistsFromError() looks at a received error and determines it to be a ResourceNotFound if the HTTP status is http.StatusNotFound. However, the HTTP status also equals http.StatusNotFound in case of SubscriptionNotFound. this PR adds logs to indict the real error messages for such case. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #64220 **Special notes for your reviewer**: **Release note**: ```release-note Add reason message logs for non-exist Azure resources ``` |
||
---|---|---|
.. | ||
auth | ||
BUILD | ||
OWNERS | ||
azure.go | ||
azure_backoff.go | ||
azure_backoff_test.go | ||
azure_blobDiskController.go | ||
azure_cache.go | ||
azure_cache_test.go | ||
azure_client.go | ||
azure_controller_common.go | ||
azure_controller_standard.go | ||
azure_controller_vmss.go | ||
azure_fakes.go | ||
azure_file.go | ||
azure_instance_metadata.go | ||
azure_instances.go | ||
azure_loadbalancer.go | ||
azure_loadbalancer.md | ||
azure_loadbalancer_test.go | ||
azure_managedDiskController.go | ||
azure_metrics.go | ||
azure_metrics_test.go | ||
azure_routes.go | ||
azure_routes_test.go | ||
azure_standard.go | ||
azure_standard_test.go | ||
azure_storage.go | ||
azure_storage_test.go | ||
azure_storageaccount.go | ||
azure_storageaccount_test.go | ||
azure_test.go | ||
azure_vmsets.go | ||
azure_vmss.go | ||
azure_vmss_cache.go | ||
azure_vmss_cache_test.go | ||
azure_vmss_test.go | ||
azure_wrap.go | ||
azure_wrap_test.go | ||
azure_zones.go |