更新TeaGo

This commit is contained in:
刘祥超
2020-10-20 20:30:02 +08:00
parent bf07747b7e
commit 627a06e7bc
4 changed files with 5 additions and 22 deletions

View File

@@ -52,16 +52,6 @@ func (this *WAFManager) FindWAF(policyId int64) *waf.WAF {
return w
}
// 判断是否包含int64
func (this *WAFManager) containsInt64(values []int64, value int64) bool {
for _, v := range values {
if v == value {
return true
}
}
return false
}
// 将Policy转换为WAF
func (this *WAFManager) convertWAF(policy *firewallconfigs.HTTPFirewallPolicy) (*waf.WAF, error) {
if policy == nil {