-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accommodate non-Amazon data center info metadata
The existing "Metadata" field in the DataCenterInfo struct conveys details specific to instances running within one of Amazon's data centers. For instances running in other types of data centers, introduce a sibling "AlternateMetadata" field, sending and populating it only when the DataCenterInfo's "Name" field is "Amazon". Retaining the original "Metadata" field maintains compatibility with existing callers, unless they had populated that field for data centers with names other than "Amazon".
- Loading branch information
Showing
3 changed files
with
275 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters