mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-23 04:08:04 +00:00
chore: gofmt fix and enable in CI (#414)
* gofmt the files Signed-off-by: Peter Pan <Peter.Pan@daocloud.io> * add UT and goFMT to PR Gate (Github Action for PR) Signed-off-by: Peter Pan <Peter.Pan@daocloud.io> --------- Signed-off-by: Peter Pan <Peter.Pan@daocloud.io> Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ func (NodeAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) {
|
||||
}
|
||||
|
||||
if len(failures) > 0 {
|
||||
preAnalysis[node.Name]= common.PreAnalysis{
|
||||
preAnalysis[node.Name] = common.PreAnalysis{
|
||||
Node: node,
|
||||
FailureDetails: failures,
|
||||
}
|
||||
|
Reference in New Issue
Block a user