mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-28 23:39:07 +01:00
remove comment
This commit is contained in:
@@ -145,8 +145,6 @@ func (m *managerImpl) DeleteNetwork(ctx context.Context, accountID, userID, netw
|
|||||||
return lerr
|
return lerr
|
||||||
}
|
}
|
||||||
|
|
||||||
// The cascade deletes return the resources/routers they loaded (with groups
|
|
||||||
// hydrated); collect them into the Change so Expand walks their groups.
|
|
||||||
for _, resource := range resources {
|
for _, resource := range resources {
|
||||||
deleted, event, err := m.resourcesManager.DeleteResourceInTransaction(ctx, transaction, accountID, userID, networkID, resource.ID)
|
deleted, event, err := m.resourcesManager.DeleteResourceInTransaction(ctx, transaction, accountID, userID, networkID, resource.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user