Commit cc1ff1d
committed
chore(agent): satisfy staticcheck S1016 on capabilities handler
CapabilityEntry has the same field types as ProbeResult (just JSON tags
on top), so staticcheck wants the explicit conversion instead of a
field-by-field literal. Functionally identical — stable Go conversion
since 1.8 (struct tags don't affect convertibility).1 parent f1e284b commit cc1ff1d
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
| 499 | + | |
505 | 500 | | |
506 | 501 | | |
507 | 502 | | |
| |||
0 commit comments