mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 14:09:39 -05:00
integration: Eventually, debug output, lint and format
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
committed by
Kristoffer Dalby
parent
3b16b75fe6
commit
9b962956b5
@@ -96,7 +96,7 @@ func CleanUnreferencedNetworks(pool *dockertest.Pool) error {
|
||||
}
|
||||
|
||||
for _, network := range networks {
|
||||
if network.Network.Containers == nil || len(network.Network.Containers) == 0 {
|
||||
if len(network.Network.Containers) == 0 {
|
||||
err := pool.RemoveNetwork(&network)
|
||||
if err != nil {
|
||||
log.Printf("removing network %s: %s", network.Network.Name, err)
|
||||
|
||||
Reference in New Issue
Block a user