mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-26 12:38:47 +01: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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user