From f9fcc3fb36eefc7bbc57c4a36b2b3acf55c417dd Mon Sep 17 00:00:00 2001 From: Derek Su Date: Sat, 11 Jan 2025 17:12:44 +0800 Subject: [PATCH] chore: update the comment in environment_check_monitor.go Longhorn 10106 Signed-off-by: Derek Su --- controller/monitor/environment_check_monitor.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controller/monitor/environment_check_monitor.go b/controller/monitor/environment_check_monitor.go index 538d2dd32b..2704cc5414 100644 --- a/controller/monitor/environment_check_monitor.go +++ b/controller/monitor/environment_check_monitor.go @@ -221,7 +221,9 @@ func (m *EnvironmentCheckMonitor) syncPackagesInstalled(kubeNode *corev1.Node, n packageProbeExecutables["sys-fs/cryptsetup"] = "cryptsetup" packageProbeExecutables["sys-fs/lvm2"] = "dmsetup" default: - // unsupported host platform, skip environment check condition + // Skip environment check condition when + // 1.The OS is unknown to Longhorn + // 2.The OS that already has all packages installed such as Harvester return }