You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: replace recover() with type-check in isMinikubeExtension
Detect plain-string kubeconfig extensions upfront by type-asserting to
*runtime.Unknown and using json.Unmarshal, which returns an error for
non-object JSON instead of panicking. This avoids a try/catch pattern
that could silently swallow unrelated panics from the k8s runtime library.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Ben Mosher <ben.mosher@dbtlabs.com>
0 commit comments