Merge branch 'main' into renovate/google-github-actions-release-please-action-digest

This commit is contained in:
Alex Jones 2023-04-11 19:21:40 +01:00 committed by GitHub
commit a62271661d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ package analysis
import (
"context"
"encoding/json"
"errors"
"fmt"
"strings"
@ -72,6 +73,8 @@ func (a *Analysis) RunAnalysis() error {
return err
}
a.Results = append(a.Results, results...)
} else {
return errors.New(fmt.Sprintf("\"%s\" filter does not exist. Please run k8sgpt filters list.", filter))
}
}
return nil