Skip to content

swarm run label list doesn't accept labels with spaces in name

Description

When creating a using the Nu CLI, using the --label_list option with a name containing spaces doesn't launch that node.

Unsure if this is just a problem with Nushell or if it is a problem with the Dragoonfly binary.

Example

This doesn't work

swarm run (swarm create 2) --replace_file_dir --label_list ["my precious", "hey"]

The node 0 is not created (node 1s created)

But this works

swarm run (swarm create 2) --replace_file_dir --label_list ["my_precious", "hey"]

Both nodes are created