mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): sync cloudpods baremetal isolated device (#23256)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user