- Notifications
You must be signed in to change notification settings - Fork675
Commit2cbd674
fix(api): use ID instead of name for GroupLabel & ProjectLabel _id_attr
_id_attr is used when comparing RESTObject objects. Labels will be seenas equal when they have the same name even if they are from differentgroups or projects.Instead, use the label's ID as the _id_attr so that comparisions willonly be equal if they truly represent the same gitlab label object.Signed-off-by: Patrick Talbert <ptalbert@redhat.com>1 parentc378817 commit2cbd674
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
0 commit comments
Comments
(0)