Skip to content

Commit

Permalink
Implement style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
rwynn committed Feb 12, 2021
1 parent 9bfb208 commit 84c0bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda/handler-runner/docker-runner/DockerContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default class DockerContainer {
// Add `host.docker.internal` DNS name to access host from inside the container
// https://github.com/docker/for-linux/issues/264
const gatewayIp = await this._getBridgeGatewayIp()
if (!!gatewayIp) {
if (gatewayIp) {
dockerArgs.push('--add-host', `host.docker.internal:${gatewayIp}`)
}
}
Expand Down

0 comments on commit 84c0bf8

Please sign in to comment.