Skip to content

Commit

Permalink
cleanup nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ncode committed Dec 5, 2023
1 parent defc464 commit 6649d7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/aclmanager/aclmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ func (a *AclManager) findNodes(ctx context.Context) (err error) {
}
}

for _, node := range nodes {
if _, ok := a.nodes[node]; !ok {
delete(a.nodes, node)
}
}

if err := scanner.Err(); err != nil {
return err
}
Expand Down

0 comments on commit 6649d7d

Please sign in to comment.