mirror of
https://github.com/lukaszraczylo/kportal.git
synced 2026-06-24 04:01:39 +00:00
614b6e6396
CI runners have no kubeconfig, so clientcmd's loader returns an empty config (no error) and CurrentContext == "". The previous assertion 'NotEmpty(context)' on the success branch was incorrect — an empty current-context is valid for an empty kubeconfig. Mirrors the looser pattern in TestDiscovery_ListContexts.