-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.21, 4.22
-
None
Description of problem:
The GetVCenterHostnames() method in pkg/util/cluster_info.go lacks proper synchronization and returns the internal slice reference directly. It may impact: - Potential data race when SetVCenterVersion() modifies vcenterHostnames concurrently (called in CollectClusterInfo via goroutines) - External callers can modify the returned slice, affecting internal state
Version-Release number of selected component (if applicable):
4.21, 4.22 and earlier