Skip to content

Create an inner class for LXD variables #792

@bepri

Description

@bepri

What needs to get done

An inner class to store some of the nitty-gritty LXD variables should be made in the lxd module.

Why it needs to get done

A few methods (in particular, craft_providers/lxd/launcher.py:launch) have enormous parameter lists. A wrapper class to store a lot of the related variables and reduce the number of parameters passed around between internal function calls would improve code clarity.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions