Skip to content

Enable to set name when creating Unit instance #4

Description

@simonvanderveldt

Hi Chris,

First of all, thanks for the great library! Thus far it's working perfectly!

Anyway, I have a question/request. Can an optional argument be added to Unit to set unit's name? Just like desiredState can be set when creating a unit.

I think it's implemented the way it is now because that way you can have a single unit and submit that multiple times?

My use case is I'd like to have a list of units already submitted to/active in fleet and compare that with a list of local units based on their name, which is something I can't currently do.
The name should be optional so it can still work the way it does now, but you can also set the name when creating the unit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions