mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
fix(climc): wire is required when using network-create (#19360)
This commit is contained in:
@@ -89,6 +89,7 @@ type NetworkCreateOptions struct {
|
||||
func (opts *NetworkCreateOptions) Params() (jsonutils.JSONObject, error) {
|
||||
params := jsonutils.NewDict()
|
||||
|
||||
params.Add(jsonutils.NewString(opts.WIRE), "wire")
|
||||
params.Add(jsonutils.NewString(opts.NETWORK), "name")
|
||||
params.Add(jsonutils.NewString(opts.STARTIP), "guest_ip_start")
|
||||
params.Add(jsonutils.NewString(opts.ENDIP), "guest_ip_end")
|
||||
|
||||
Reference in New Issue
Block a user