mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 21:52:54 +08:00
fix(region): add interface field length (#21422)
This commit is contained in:
@@ -59,7 +59,7 @@ type SHostwireDeprecated struct {
|
||||
|
||||
Bridge string `width:"64" charset:"ascii" nullable:"false" list:"domain" update:"domain" create:"domain_required"`
|
||||
// 接口名称
|
||||
Interface string `width:"16" charset:"ascii" nullable:"false" list:"domain" update:"domain" create:"domain_required"`
|
||||
Interface string `width:"64" charset:"ascii" nullable:"false" list:"domain" update:"domain" create:"domain_required"`
|
||||
// 是否是主地址
|
||||
IsMaster bool `nullable:"true" default:"false" list:"domain" update:"domain" create:"domain_optional"`
|
||||
// MAC地址
|
||||
|
||||
@@ -56,7 +56,7 @@ type SNetInterface struct {
|
||||
// Bridge名称
|
||||
Bridge string `width:"64" charset:"ascii" nullable:"true"`
|
||||
// 接口名称
|
||||
Interface string `width:"16" charset:"ascii" nullable:"true"`
|
||||
Interface string `width:"64" charset:"ascii" nullable:"true"`
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
|
||||
Reference in New Issue
Block a user