kubesphere / kubeeye

KubeEye aims to find various problems on Kubernetes, such as application misconfiguration, unhealthy cluster components and node problems.
https://kubesphere.io
Apache License 2.0
810 stars 126 forks source link

chore: slice replace loop #300

Closed testwill closed 1 year ago

testwill commented 1 year ago

replace loop with fmAuditResults[result.NameSpace] = append(fmAuditResults[result.NameSpace], result.ResultInfos...) replace loop with output = append(output, r...)

liangzai006 commented 1 year ago

@testwill Thanks for this contribution ! /lgtm /approve

pixiake commented 1 year ago

/approve

ks-ci-bot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liangzai006, pixiake, testwill

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubesphere/kubeeye/blob/main/OWNERS)~~ [pixiake] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment