wire up trigger to restart sync for ACL spider
This commit is contained in:
@@ -48,6 +48,15 @@ func (s *S) GetACLInfo() (name, description, documentation string) {
|
||||
return
|
||||
}
|
||||
|
||||
func (s *S) Syncer() {
|
||||
for _, i := range s.ACL {
|
||||
if i.Type() == s.Active.Load() {
|
||||
i.Syncer()
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (s *S) Type() (typ string) {
|
||||
for _, i := range s.ACL {
|
||||
if i.Type() == s.Active.Load() {
|
||||
|
||||
Reference in New Issue
Block a user