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

console-conf: fix crash on network info #1310

Merged
merged 1 commit into from
Jun 13, 2022

Commits on Jun 13, 2022

  1. console-conf: fix crash on network info

    If you run dryrun for console-conf, go to the network page, go to an
    interface, then info, a crash of the form
    TypeError: object str can't be used in 'await' expression
    can be seen. The signature for the core version of get_info_for_netdev
    is not async, but a non-async method returning str.
    
    So mark the core version of the function async.
    
    Co-authored-by: Michael Hudson-Doyle <[email protected]>
    (cherry picked from commit 4b1277a)
    dbungert authored and mwhudson committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    442d599 View commit details
    Browse the repository at this point in the history