Skip to content

Commit 2482a63

Browse files
committed
nit(nvlink): exclude kmsg scan state from JSON
1 parent 2bfac01 commit 2482a63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/accelerator/nvidia/nvlink/component.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ func (c *component) Check() components.CheckResult {
443443
var _ components.CheckResult = &checkResult{}
444444

445445
type checkResult struct {
446-
KmsgScanned bool `json:"kmsg_scanned,omitempty"`
447-
MatchedKmsgs []kmsg.Message `json:"matched_kmsgs,omitempty"`
446+
KmsgScanned bool `json:"-"`
447+
MatchedKmsgs []kmsg.Message `json:"-"`
448448

449449
// NVLinks contains detailed NVLink information for all GPUs checked
450450
NVLinks []NVLink `json:"nvlinks,omitempty"`

0 commit comments

Comments
 (0)