Commit 6b88e29
refactor: add explicit log when skipping ADC due to initErr in ApisixConsumer webhook
Separate the initErr and warnings checks for better observability:
log the init error explicitly when skipping ADC validation due to a
failed ADC client initialization.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f5363b0 commit 6b88e29
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
| |||
0 commit comments