Skip to content

Commit

Permalink
fix: 1.28 Update version of Azure metadata
Browse files Browse the repository at this point in the history
* Backport commit to 1.28 branch
* Original PR: #3389
  * Original commit: 76253dc
* Update the version of metadata we try to get from
  Azure IMDS server, because we need facts from new
  version of metadata and old version of metadata
  could be deprecated in the future
  • Loading branch information
jirihnidek authored and m-horky committed May 14, 2024
1 parent b6837a4 commit 07158a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud_what/providers/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AzureCloudProvider(BaseCloudProvider):
# for very long time. It would be good to update the version from time to time,
# because old versions (three years) are deprecated. It would be good to update
# the API version with every minor version of RHEL
API_VERSION = "2021-02-01"
API_VERSION = "2023-07-01"

BASE_CLOUD_PROVIDER_METADATA_URL = "http://169.254.169.254/metadata/instance?api-version="

Expand Down

0 comments on commit 07158a6

Please sign in to comment.