mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 14:15:25 +08:00
extclients from policies
This commit is contained in:
parent
d22a6a39e3
commit
8536f0eeb9
1 changed files with 1 additions and 1 deletions
|
@ -106,6 +106,7 @@ func DeleteExtClient(network string, clientid string) error {
|
|||
if servercfg.CacheEnabled() {
|
||||
deleteExtClientFromCache(key)
|
||||
}
|
||||
go RemoveNodeFromAclPolicy(extClient.ConvertToStaticNode())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -134,7 +135,6 @@ func DeleteExtClientAndCleanup(extClient models.ExtClient) error {
|
|||
slog.Error("DeleteExtClientAndCleanup-update network acls:", "Error", err.Error())
|
||||
return err
|
||||
}
|
||||
go RemoveNodeFromAclPolicy(extClient.ConvertToStaticNode())
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue