实现WAF策略部分功能

This commit is contained in:
GoEdgeLab
2020-10-06 21:02:37 +08:00
parent 79987001af
commit 5ace29ad42
29 changed files with 727 additions and 20 deletions

View File

@@ -19,7 +19,7 @@ func (this *DeleteAction) RunPost(params struct {
return
}
if countResp.Count > 0 {
this.Fail("此缓存策略正在被别的服务引用,请修改后再删除。")
this.Fail("此缓存策略正在被有些服务引用,请修改后再删除。")
}
_, err = this.RPC().HTTPCachePolicyRPC().DeleteHTTPCachePolicy(this.AdminContext(), &pb.DeleteHTTPCachePolicyRequest{CachePolicyId: params.CachePolicyId})