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

examples: fixes, cleanup, use StepLogger instead of StepReporter #1449

Merged

Commits on Jul 23, 2024

  1. examples/qemu-networking/qemunetworkstrategy: fix NameErrors

    Add missing imports and use correct variable names.
    
    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    04d6d07 View commit details
    Browse the repository at this point in the history
  2. examples: drop unused imports

    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c8128f6 View commit details
    Browse the repository at this point in the history
  3. examples: make imports consistent

    The examples try to demonstrate how labgrid can be used. So use sane,
    consistent imports for this purpose.
    
    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c872e7f View commit details
    Browse the repository at this point in the history
  4. examples: use labgrid's StepLogger/basicConfig

    StepReporter is deprecated, use StepLogger instead. While at it, make
    use of labgrid's basicConfig(). It provides a very similar format
    string, so drop all redundant arguments.
    
    Also switch from DEBUG to INFO log level for various examples that do
    not benefit from such a noisy log level.
    
    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a3bc87c View commit details
    Browse the repository at this point in the history