Skip to content

Commit

Permalink
chore: update the comment in environment_check_monitor.go
Browse files Browse the repository at this point in the history
Longhorn 10106

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit authored and innobead committed Jan 11, 2025
1 parent 17f76d1 commit f9fcc3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controller/monitor/environment_check_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f9fcc3f

Please sign in to comment.