Commit cd266a5
committed
fix: add //go:noinline to isMinikubeExtension to ensure recover() works
Without noinline, newer Go versions inline isMinikubeExtension into its
caller, which means the deferred recover() loses its own stack frame and
cannot catch the panic from ToUnstructured.
Signed-off-by: Ben Mosher <ben.mosher@dbtlabs.com>1 parent 5427dc2 commit cd266a5
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
275 | 280 | | |
276 | 281 | | |
277 | 282 | | |
| |||
0 commit comments