Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Janitor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Janitor
Commits
25816f8a
Commit
25816f8a
authored
1 year ago
by
Łukasz Łopatowski
Browse files
Options
Downloads
Patches
Plain Diff
Fixed log
parent
9d4a5006
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/service/v1/config-service.go
+1
-1
1 addition, 1 deletion
pkg/service/v1/config-service.go
with
1 addition
and
1 deletion
pkg/service/v1/config-service.go
+
1
−
1
View file @
25816f8a
...
@@ -111,7 +111,7 @@ func (s *configServiceServer) FindGitlabProjectId(api *gitlab.Client, uid string
...
@@ -111,7 +111,7 @@ func (s *configServiceServer) FindGitlabProjectId(api *gitlab.Client, uid string
}
}
//Find our project in group projects list
//Find our project in group projects list
log
.
Printf
(
"Found %d Projects and looking for %s"
,
len
(
g
ro
up
s
),
uid
)
log
.
Printf
(
"Found %d Projects and looking for %s"
,
len
(
p
ro
j
s
),
uid
)
for
_
,
proj
:=
range
projs
{
for
_
,
proj
:=
range
projs
{
if
proj
.
Name
==
uid
{
if
proj
.
Name
==
uid
{
return
proj
.
ID
,
nil
return
proj
.
ID
,
nil
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment