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

default_policy: Builder: forbid preferring rack without specifing datacenter #775

Merged
merged 1 commit into from
Aug 1, 2023

Commits on Jul 31, 2023

  1. default_policy: Builder: forbid preferring racks without DCs

    This is an API restriction continuing of what has already been done
    in bb09756: as the case of providing
    preferred rack without specifying the preferred datacenter is invalid,
    in spirit of the principle “Make illegal states unrepresentable”,
    `DefaultBuilder`'s API is changed accordingly to disallow creating
    such configuration.
    A stray backslash is deleted from a docstring.
    
    Docs are updated to reflect the API change.
    wprzytula committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    2118631 View commit details
    Browse the repository at this point in the history