Commit 4b16796
authored
Improve error message when KFP server doesn't support securityContext (#696)
* Improve error message when KFP server doesn't support securityContext
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Remove redundant error logging for unsupported securityContext
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Use ApiException and response body for robust securityContext compatibility handling
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Make securityContext error detection specific using protobuf error message
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Refine structured error handling for securityContext incompatibility
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Improve ApiException handling and format kfputils
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Fix lint issues
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
* Fix formatting with ruff
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>
---------
Signed-off-by: Vishal <vishal.goyal7711@gmail.com>1 parent 7d3967c commit 4b16796
1 file changed
Lines changed: 53 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
83 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
183 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
184 | 194 | | |
185 | 195 | | |
186 | 196 | | |
| |||
193 | 203 | | |
194 | 204 | | |
195 | 205 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
202 | 241 | | |
203 | 242 | | |
204 | 243 | | |
| |||
323 | 362 | | |
324 | 363 | | |
325 | 364 | | |
326 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
327 | 370 | | |
328 | 371 | | |
329 | 372 | | |
| |||
0 commit comments