fix: debug is leaking host container and network names

Closes forgejo/runner#295
This commit is contained in:
Earl Warren 2024-10-19 08:47:02 +02:00
parent 98d572ee58
commit f19b377e2d
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -22,7 +22,6 @@ func NewDockerNetworkCreateExecutor(name string, config *types.NetworkCreate) co
if err != nil {
return err
}
common.Logger(ctx).Debugf("%v", networks)
for _, network := range networks {
if network.Name == name {
common.Logger(ctx).Debugf("Network %v exists", name)