Merge remote-tracking branch 'origin/main' into test
This commit is contained in:
commit
2cde89a882
|
@ -2906,11 +2906,12 @@ func (s *Service) ApiUpdateZone(ctx *gin.Context, req *zoneproto.ApiUpdateReq) (
|
|||
ec = errcode.ErrCodeZoneSrvFail
|
||||
return
|
||||
}
|
||||
|
||||
newOne, _ = _DefaultVas.GetZoneVasInfo(ctx, req.Zone.GetId())
|
||||
|
||||
req.Zone.Profile = goproto.String(profile)
|
||||
s.CreateZoneTextAudit(ctx, oldZone, req.Zone)
|
||||
if profile != "" {
|
||||
req.Zone.Profile = goproto.String(profile)
|
||||
s.CreateZoneTextAudit(ctx, oldZone, req.Zone)
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue