Skip to content

Commit

Permalink
Merge pull request moby#48800 from AmirBuddy/48797-network-disconnect…
Browse files Browse the repository at this point in the history
…-double-event

Fix: Duplicate event on network disconnect
  • Loading branch information
thaJeztah authored Jan 20, 2025
2 parents 378e21e + 17b7651 commit 2c3c0c7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions daemon/container_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,12 +1047,6 @@ func (daemon *Daemon) DisconnectFromNetwork(ctx context.Context, ctr *container.
return err
}

if n != nil {
daemon.LogNetworkEventWithAttributes(n, events.ActionDisconnect, map[string]string{
"container": ctr.ID,
})
}

return nil
}

Expand Down

0 comments on commit 2c3c0c7

Please sign in to comment.