From dc20daafbc8ef824811a92bdaa2bd4e42eb73290 Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Sun, 24 Apr 2022 11:40:21 +0800 Subject: [PATCH] fix(region): make access_ip of host updatable --- pkg/compute/models/hosts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/hosts.go b/pkg/compute/models/hosts.go index 1d5acf7411..e6a6941b65 100644 --- a/pkg/compute/models/hosts.go +++ b/pkg/compute/models/hosts.go @@ -98,7 +98,7 @@ type SHost struct { AccessMac string `width:"32" charset:"ascii" nullable:"false" index:"true" list:"domain" update:"domain"` // 管理口Ip地址 - AccessIp string `width:"16" charset:"ascii" nullable:"true" list:"domain"` + AccessIp string `width:"16" charset:"ascii" nullable:"true" list:"domain" update:"domain"` // 管理地址 ManagerUri string `width:"256" charset:"ascii" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`