Commit b3d7603
Fix servicelog link validation for blocked egress URLs
When osdctl network verify-egress detects blocked egress URLs and attempts
to send a service log, the link validator was failing because it tried to
validate the egress URLs being reported. These URLs may return HTTP error
codes (like 404) that fail link validation but are acceptable for egress
verification purposes (a 404 still confirms successful TCP connectivity).
Changes:
- Export SkipLinkCheck field in PostCmdOptions (was skipLinkCheck) to allow
other packages to set it
- Set SkipLinkCheck=true when generating service logs for blocked egress URLs
in verify-egress command
This allows the service log to be sent successfully even when the egress URLs
in the message body would fail link validation, since those URLs are intended
for network connectivity verification rather than documentation.
Fixes: SREP-2372
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 2a82df8 commit b3d7603
File tree
3 files changed
+6
-3
lines changed- cmd
- network
- servicelog
3 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
| 575 | + | |
575 | 576 | | |
576 | 577 | | |
577 | 578 | | |
| |||
585 | 586 | | |
586 | 587 | | |
587 | 588 | | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments