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

Set default for the safe_interval option of verdi computer configure #3590

Commits on Nov 30, 2019

  1. Set default for the safe_interval option of verdi computer configure

    The `safe_interval` is a common option for all `Transport` types but its
    default value is class dependent. Since it is a common option it was
    defined in the `Transport` base class, but since it is defined as a
    class attribute, the default cannot be set yet. Keeping this design, the
    only option to insert the class specific default is in `auth_options`
    the class property that returns the options for the CLI. By adding the
    default here, `verdi computer configure local localhost -n` will now
    work without prompting for its only option `safe_interval` as it will
    simply use the default.
    sphuber committed Nov 30, 2019
    Configuration menu
    Copy the full SHA
    34bc1b9 View commit details
    Browse the repository at this point in the history