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
|
ec = errcode.ErrCodeZoneSrvFail
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
newOne, _ = _DefaultVas.GetZoneVasInfo(ctx, req.Zone.GetId())
|
newOne, _ = _DefaultVas.GetZoneVasInfo(ctx, req.Zone.GetId())
|
||||||
|
|
||||||
req.Zone.Profile = goproto.String(profile)
|
if profile != "" {
|
||||||
s.CreateZoneTextAudit(ctx, oldZone, req.Zone)
|
req.Zone.Profile = goproto.String(profile)
|
||||||
|
s.CreateZoneTextAudit(ctx, oldZone, req.Zone)
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue