Skip to content

Commit

Permalink
Merge branch 'main' into feature/add-anonymize-option
Browse files Browse the repository at this point in the history
  • Loading branch information
matthisholleville committed Apr 11, 2023
2 parents 08f2a89 + 370e13b commit 45c7ecf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package analysis
import (
"context"
"encoding/json"
"errors"
"fmt"
"strings"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 45c7ecf

Please sign in to comment.