mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-28 03:23:25 +08:00
baremetal and host request IP from on premise network
This commit is contained in:
@@ -724,7 +724,7 @@ func (h *SHostInfo) fetchAccessNetworkInfo() {
|
||||
}
|
||||
params := jsonutils.NewDict()
|
||||
params.Set("ip", jsonutils.NewString(masterIp))
|
||||
params.Set("is_private", jsonutils.JSONTrue)
|
||||
params.Set("is_on_premise", jsonutils.JSONTrue)
|
||||
params.Set("limit", jsonutils.NewInt(0))
|
||||
wire, err := hostutils.GetWireOfIp(context.Background(), params)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user