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:
Jan Graefen
2021-02-05 21:37:19 +01:00
parent e14abd64a2
commit a38ff650a2

View File

@@ -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
}