-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edit: fix labels update for issue and MR
Since the label/unlabel code was written the go-gitlab module was updated and received got the ability to add and remove labels explicitly instead of the specifying all labels through a single struct member. With that, we can use these new members in the UpdateLabel struct to get the job done and solve the issue where it's not possible to unlabel an issue or MR with a single label, since the array would be ignore for being "empty". Signed-off-by: Bruno Meneguele <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters