mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-24 09:50:08 +00:00
Desperate attempt to find the cause of the CodeQL error
Signed-off-by: Jan Graefen <223234+jangraefen@users.noreply.github.com>
This commit is contained in:
parent
e14abd64a2
commit
a38ff650a2
1 changed files with 3 additions and 3 deletions
|
|
@ -143,12 +143,12 @@ func (db *db) listRepositories(ctx context.Context, repoType *string) ([]*appsv1
|
|||
if r != nil {
|
||||
modifiedTime := metav1.Now()
|
||||
r.ConnectionState = appsv1.ConnectionState{
|
||||
Status: appsv1.ConnectionStatusFailed,
|
||||
Message: "Configuration error - please check the server logs",
|
||||
Status: appsv1.ConnectionStatusFailed,
|
||||
// Message: "Configuration error - please check the server logs",
|
||||
ModifiedAt: &modifiedTime,
|
||||
}
|
||||
|
||||
log.Warnf("could not retrieve repo: %s", err.Error())
|
||||
// log.Warnf("could not retrieve repo: %s", err.Error())
|
||||
} else {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue