fix(region): add interface field length (#21422)

This commit is contained in:
屈轩
2024-10-18 09:52:34 +08:00
committed by GitHub
parent 2f72980705
commit dabfa8de08
2 changed files with 2 additions and 2 deletions

View File

@@ -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地址

View File

@@ -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