Skip to content

--attribute values are split on commas #1003

Description

@RaphaelFakhri

lk token create, lk room join, and lk perf agent-load-test split --attribute values on commas.

Reproduce

lk token create --room r --identity i --attribute tags=a,b

Actual

The attributes are {"tags": "a", "": "b"}. The value is cut at the comma and an attribute with an empty key is added.

Expected

The attribute is {"tags": "a,b"}. The lk agent commands already behave this way because they set DisableSliceFlagSeparator.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions