Skip to content

refactor: NewInstance vs manager.Add(instance) #116

@feloy

Description

@feloy

During the init command, an instance is built in two steps: instance.NewInstance(params instances.NewInstanceParams) then manager.Add(params{ instance, ...}), and parameters are passed either to the one or the other.

There is no necessity to build the instance in two steps. One call to manager.Add() should be enough

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions