fix(region): sync cloudpods baremetal isolated device (#23256)

This commit is contained in:
屈轩
2025-09-09 18:40:01 +08:00
committed by GitHub
parent cfe4d82e78
commit 9dfa4ee355
+3 -1
View File
@@ -60,7 +60,9 @@ func (d *SIsolatedDevice) GetSharedProjectIds() ([]string, error) {
}
func (region *SRegion) GetIsolatedDevices(hostId string, serverId string) ([]SIsolatedDevice, error) {
params := map[string]interface{}{}
params := map[string]interface{}{
"show_baremetal_isolated_devices": true,
}
if len(hostId) > 0 {
params["host_id"] = hostId
}