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

cli: ensure -stale flag is respected by nomad operator debug #11678

Merged
merged 1 commit into from
Dec 15, 2021

Commits on Dec 15, 2021

  1. cli: ensure -stale flag is respected by nomad operator debug

    When a cluster doesn't have a leader, the `nomad operator debug`
    command can safely use stale queries to gracefully degrade the
    consistency of almost all its queries. The query parameter for these
    API calls was not being set by the command.
    
    Some `api` package queries do not include `QueryOptions` because
    they target a specific agent, but they can potentially be forwarded to
    other agents. If there is no leader, these forwarded queries will
    fail. Provide methods to call these APIs with `QueryOptions`.
    tgross committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    9f18222 View commit details
    Browse the repository at this point in the history