mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-07 19:03:31 +00:00
Merge branch 'main' into renovate/google-github-actions-release-please-action-digest
This commit is contained in:
commit
a62271661d
@ -3,6 +3,7 @@ package analysis
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -72,6 +73,8 @@ func (a *Analysis) RunAnalysis() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
a.Results = append(a.Results, results...)
|
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
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user