Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labels should be unique by name #15591

Closed
imogenkinsman opened this issue Oct 26, 2019 · 1 comment · Fixed by #15647
Closed

labels should be unique by name #15591

imogenkinsman opened this issue Oct 26, 2019 · 1 comment · Fixed by #15647

Comments

@imogenkinsman
Copy link
Contributor

imogenkinsman commented Oct 26, 2019

Within an organization, labels should be unique by name; if a label is created or updated to an existing name, the request should fail. The UI enforces this right now, but it is not enforced over the API.

As a bonus, this would allow us to do lookups by name in constant time by indexing on name like we do in kv/org.go.

@imogenkinsman
Copy link
Contributor Author

closed by #15647

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

Successfully merging a pull request may close this issue.

2 participants