fix(region): expand the bridge field

由于 esxi 中,bridge 是 dvs 的一个路径,长度为 16 字段会不够用
This commit is contained in:
rainzm
2021-04-02 19:23:22 +08:00
parent 052442ef66
commit 841ec1f251
+1 -1
View File
@@ -55,7 +55,7 @@ func init() {
type SHostwire struct {
SHostJointsBase
Bridge string `width:"16" charset:"ascii" nullable:"false" list:"domain" update:"domain" create:"domain_required"`
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"`
// 是否是主地址