summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Zentner <kzentner@section6.net>2018-03-07 11:02:43 -0800
committerGitHub <noreply@github.com>2018-03-07 11:02:43 -0800
commit312210c8b50c37780015b3eef7467aed5f13d2c2 (patch)
treec657b5a8306eff3e6a8088fb093aecdd757ac15d
parent9a1fb19fff921d69f4c594675e97f3bd6f4da622 (diff)
downloadohai-312210c8b50c37780015b3eef7467aed5f13d2c2.tar.gz
Going with commonly supported version
This is documented here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service
-rw-r--r--lib/ohai/mixin/azure_metadata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/mixin/azure_metadata.rb b/lib/ohai/mixin/azure_metadata.rb
index 30d4e0e0..08ba8399 100644
--- a/lib/ohai/mixin/azure_metadata.rb
+++ b/lib/ohai/mixin/azure_metadata.rb
@@ -22,7 +22,7 @@ module Ohai
module AzureMetadata
AZURE_METADATA_ADDR = "169.254.169.254" unless defined?(AZURE_METADATA_ADDR)
- AZURE_METADATA_URL = "/metadata/instance?api-version=2017-12-01" unless defined?(AZURE_METADATA_URL)
+ AZURE_METADATA_URL = "/metadata/instance?api-version=2017-08-01" unless defined?(AZURE_METADATA_URL)
# fetch the meta content with a timeout and the required header
def http_get(uri)