-
-
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.
In the internal gitlab module, project IDs were being passed in two different types in different functions: interface{} and string. This isn't a problem code-wise because the go-gitlab module accept everything in the interface{} type and parse the value internally. However, it's confusing for lab developers to understand when to use which, and honestly, it doesn't seem to have any good reason. So, to maintain consistency, change all string project IDs to interface{} giving more flexibility and also adds the parseID() function to convert the interface{} ID to string when really necessary. Signed-off-by: Bruno Meneguele <[email protected]>
- Loading branch information
Showing
1 changed file
with
58 additions
and
39 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