fix(baremetal): power status of server is not synced (#23687)

This commit is contained in:
Zexi Li
2025-11-10 09:56:29 +08:00
committed by GitHub
parent a191da0a77
commit 30b7deb9f5
8 changed files with 38 additions and 30 deletions
+4 -2
View File
@@ -16,9 +16,11 @@ package types
import "yunion.io/x/jsonutils"
type PowerStatus string
const (
POWER_STATUS_ON = "on"
POWER_STATUS_OFF = "off"
POWER_STATUS_ON PowerStatus = "on"
POWER_STATUS_OFF PowerStatus = "off"
)
type SIPMIInfo struct {