mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
Removing logging of git client errors as these are now returned in main.go
This commit is contained in:
1 parent
f89b8f2b29
commit
6fcf91e934
2 files changed
+1
-7
No files matched your search
+1
-4
@@ -32,10 +32,7 @@ func NewGitlabClient(m manager.Manager) (*Gitlab, error) {
|
||||
}
|
||||
|
||||
if m.Opts.BaseURL != "" {
|
||||
err := gitlabClient.client.SetBaseURL(m.Opts.BaseURL)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
err = gitlabClient.client.SetBaseURL(m.Opts.BaseURL)
|
||||
}
|
||||
|
||||
return gitlabClient, err
|
||||
|
||||
Reference in new issue
Block a user