chore: make go-lint happy (#405)

Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
This commit is contained in:
Peter Pan
2023-05-12 19:24:30 +08:00
committed by GitHub
parent 50916f2c93
commit ed73485d92
10 changed files with 17 additions and 16 deletions

View File

@@ -58,7 +58,7 @@ func (NodeAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) {
}
if len(failures) > 0 {
preAnalysis[fmt.Sprintf("%s", node.Name)] = common.PreAnalysis{
preAnalysis[node.Name]= common.PreAnalysis{
Node: node,
FailureDetails: failures,
}