Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Jul 12, 2024
1 parent b3c3d0a commit 91b9e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ module.exports = {
const details = await this._docker.getNetwork(networks[j].Id).inspect()
const containers = Object.keys(details.Containers)
for (let i = 0; i < containers.length; i++) {
console.log(containers[i])
// console.log(containers[i])
if (containers[i].startsWith(process.env.HOSTNAME)) {
filteredNetworks.push(networks[j])
}
}
}
console.log(JSON.stringify(filteredNetworks))
// console.log(JSON.stringify(filteredNetworks, null, 2))
if (filteredNetworks[0]) {
this._app.log.info(`[docker] using network ${filteredNetworks[0].Name}`)
this._network = filteredNetworks[0].Name
Expand Down

0 comments on commit 91b9e89

Please sign in to comment.