mirror of
https://github.com/vee1e/runtimeclass-debugger.git
synced 2026-09-01 10:18:42 +00:00
diag: correct the config key name in the events-check advice
The messages told users to enable edgeCore.reportEvent, but the key lives under the edged section as edged.reportEvent. Searching for the wrong key in edgecore.yaml would find nothing.
This commit is contained in:
parent
e0bc366525
commit
7b524cc47b
2 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ RuntimeClass Edge Diagnostics
|
|||
[PASS] transport 1 RuntimeClass object(s) served by MetaServer (kata)
|
||||
[FAIL] bridge class "kata" is in the local store but the kubelet-bridge lookup cannot resolve it (NotFound): edge bridge gap (NodeV1 not wired to metaclient)
|
||||
[PASS] cri handler "kata" configured in containerd
|
||||
[WARN] events reportEvent is false: pod failures may not surface as events. Enable edgeCore.reportEvent
|
||||
[WARN] events reportEvent is false: pod failures may not surface as events. Enable edged.reportEvent
|
||||
|
||||
Result: 2 pass, 1 fail, 1 warn
|
||||
```
|
||||
|
|
|
|||
|
|
@ -208,9 +208,9 @@ func (d *Diag) CheckEvents() CheckResult {
|
|||
return CheckResult{ID: "events", Status: StatusPass, Detail: "reportEvent is true; pod events are reported to the cloud"}
|
||||
}
|
||||
if !present {
|
||||
return CheckResult{ID: "events", Status: StatusWarn, Detail: "edged.reportEvent is absent (defaults to false): pod failures may not surface as events. Enable edgeCore.reportEvent"}
|
||||
return CheckResult{ID: "events", Status: StatusWarn, Detail: "edged.reportEvent is absent (defaults to false): pod failures may not surface as events. Enable edged.reportEvent"}
|
||||
}
|
||||
return CheckResult{ID: "events", Status: StatusWarn, Detail: "reportEvent is false: pod failures may not surface as events. Enable edgeCore.reportEvent"}
|
||||
return CheckResult{ID: "events", Status: StatusWarn, Detail: "reportEvent is false: pod failures may not surface as events. Enable edged.reportEvent"}
|
||||
}
|
||||
|
||||
// handlerFor maps a class name to its handler from the local store. Classes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue