orb icon indicating copy to clipboard operation
orb copied to clipboard

Agents: key of agent tags is always being parsed as lower case

Open manrodrigues opened this issue 2 years ago • 1 comments

When an agent tag is created, even if the key is created using upper letters, the key is being parsed as lowercase.

You can see here that the config file contains mixed (upper and lower) letters:

image.png

But only the value is created exactly as the file. The key is always lowercase:

image.png

image.png

As the groups subscriptions are case sensitive and that is impossible to ediiting agent tags using orb UI, the users are blocked to subscribe the agent to any preexisting group whose have upper letters on the key.

manrodrigues avatar Apr 12 '22 03:04 manrodrigues

@lpegoraro told that the problem is from it: https://github.com/spf13/viper/issues/260

manrodrigues avatar Sep 08 '22 17:09 manrodrigues