Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accommodate non-Amazon data center info metadata #44

Merged
merged 2 commits into from
Sep 27, 2016

Commits on Sep 19, 2016

  1. Configuration menu
    Copy the full SHA
    c45e565 View commit details
    Browse the repository at this point in the history
  2. 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".
    seh committed Sep 19, 2016
    Configuration menu
    Copy the full SHA
    bb10d2c View commit details
    Browse the repository at this point in the history