mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
fix bug
This commit is contained in:
@@ -5,13 +5,12 @@ import (
|
||||
)
|
||||
|
||||
func (p *Core) UpdateRule(tag string, newRuleList []api.DetectRule) error {
|
||||
err := p.dispatcher.RuleManager.UpdateRule(tag, newRuleList)
|
||||
return err
|
||||
return p.dispatcher.RuleManager.UpdateRule(tag, newRuleList)
|
||||
}
|
||||
|
||||
func (p *Core) UpdateProtocolRule(tag string, newRuleList []string) error {
|
||||
err := p.dispatcher.RuleManager.UpdateProtocolRule(tag, newRuleList)
|
||||
return err
|
||||
|
||||
return p.dispatcher.RuleManager.UpdateProtocolRule(tag, newRuleList)
|
||||
}
|
||||
|
||||
func (p *Core) GetDetectResult(tag string) ([]api.DetectResult, error) {
|
||||
|
||||
Reference in New Issue
Block a user