summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-02-08 13:01:33 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-08 13:01:33 -0800
commit3490da70c8bd31832ad3a041ccf83a42b15695a3 (patch)
treef37e600cdd220faabee7bb1dd784befb9a7ec471
parentdfa4e2afcfe24a83eccc297bccd9b40b2119d0bf (diff)
downloadohai-3490da70c8bd31832ad3a041ccf83a42b15695a3.tar.gz
Update note about API versionsalibaba
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/mixin/alibaba_metadata.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ohai/mixin/alibaba_metadata.rb b/lib/ohai/mixin/alibaba_metadata.rb
index ba14b7b2..7afde2f3 100644
--- a/lib/ohai/mixin/alibaba_metadata.rb
+++ b/lib/ohai/mixin/alibaba_metadata.rb
@@ -24,10 +24,9 @@ module Ohai
# This code parses the Alibaba Instance Metadata API to provide details
# of the running instance.
#
- # As of 2021-02-07 there is only one API release so this removes the
- # API parsing logic in the ec2 metadata mixin. If that changes we
- # may want to merge these two codebases
- #
+ # Note: As of 2021-02-07 there is only one API release so we're not implementing
+ # logic like the ec2 or azure mixins where we have to find the latest supported
+ # release
module AlibabaMetadata
ALI_METADATA_ADDR ||= "100.100.100.200"