Skip to content

Commit 1254bc6

Browse files
committed
Diagnostics: Disable inapplicable checker
The `kubeConfigSymlink` checker only makes sense on Windows. Signed-off-by: Mark Yen <mark.yen@suse.com>
1 parent fa96b9a commit 1254bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/rancher-desktop/main/diagnostics/kubeConfigSymlink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CheckKubeConfigSymlink: DiagnosticsChecker = {
2727
id: 'VERIFY_WSL_INTEGRATION_KUBECONFIG',
2828
category: DiagnosticsCategory.Kubernetes,
2929
applicable() {
30-
return Promise.resolve(true);
30+
return Promise.resolve(process.platform === 'win32');
3131
},
3232
async check() {
3333
return Promise.resolve({

0 commit comments

Comments
 (0)