Prevent duplicate service tags
Open
theme/service-metadata
type/enhancement
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Hi,
I have a situation where I'm using nomad job templates provided by a service with custom tags. I've created a wrapper to be able to specify additional tags during deployment. Problem with that is that Consul allows duplicate tags (which makes sense as I expect tags are an array). This leads to pollution of service tags.
Wouldn't it be better to use a `set` instead of an `array`?
Btw, for now I'm just going to check member existence in my wrapper to prevent this but IMHO it would be nice if Consul already did that.
Contributor guide
Assessment
This issue has not been assessed yet.