Merge branch 'main' into feature/add-anonymize-option

This commit is contained in:
HOLLEVILLE Matthis
2023-04-11 20:19:12 +02:00
committed by GitHub

View File

@@ -3,6 +3,7 @@ package analysis
import (
"context"
"encoding/json"
"errors"
"fmt"
"strings"
@@ -73,6 +74,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