mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 23:58:19 +00:00
feat: Refine The Atlantis VCS Logging Configuration (#4285)
* Refine VCS Logging * Remove github/gitlab client logger * Remove fmtLogSrc from instrumented_client and format * Add staticcheck lint exception for NewGitHubClient * Fix tests
This commit is contained in:
@@ -197,7 +197,7 @@ func (a *APIController) apiParseAndValidate(r *http.Request) (*APIRequest, *comm
|
||||
if err != nil {
|
||||
return nil, nil, http.StatusBadRequest, err
|
||||
}
|
||||
cloneURL, err := a.VCSClient.GetCloneURL(VCSHostType, request.Repository)
|
||||
cloneURL, err := a.VCSClient.GetCloneURL(a.Logger, VCSHostType, request.Repository)
|
||||
if err != nil {
|
||||
return nil, nil, http.StatusInternalServerError, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user