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

This commit is contained in:
屈轩
2024-10-18 09:52:17 +08:00
committed by GitHub
parent 833dfcc6e2
commit 87b710ef58
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,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地址
+1 -1
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