Commit 260ad26
velero: surface malformed collector JSON and agent pod logs on failure
replay_collector_output called json.loads unguarded, so a malformed
collector blob surfaced as a bare JSONDecodeError with no indication of
which candidate produced it. run_discovery_check_kubernetes's failure
path also only showed the agent check invocation's own stdout/stderr,
not the agent pod's own logs, which is often where the real failure
(a crashed IPC/auth setup) shows up. Mirror dd_agent_check's handling
of both cases.
Environment: Datadog workspace
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 76ad601 commit 260ad26
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
| |||
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
231 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
232 | 238 | | |
233 | 239 | | |
234 | 240 | | |
| |||
0 commit comments