mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 01:06:45 +00:00
[management] add update account peers hook (#3060)
This commit is contained in:
@@ -111,3 +111,8 @@ func (g *Group) RemoveResource(resource Resource) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// HasResources checks if the group has any resources.
|
||||
func (g *Group) HasResources() bool {
|
||||
return len(g.Resources) > 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user