Skip to content

Commit

Permalink
clean up and enforce govet
Browse files Browse the repository at this point in the history
  • Loading branch information
n8wb committed May 13, 2019
1 parent aae6a69 commit 540dfcb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blockchains/lighthouse/lighthouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ package lighthouse
import (
"fmt"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
)
Expand Down
2 changes: 1 addition & 1 deletion blockchains/prysm/prysm.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ package prysm
import (
"fmt"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
)
Expand Down
5 changes: 3 additions & 2 deletions deploy/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/docker"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"sync"
Expand Down Expand Up @@ -199,10 +200,10 @@ func Build(tn *testnet.TestNet, services []util.Service) error {

for _, client := range tn.Clients {
wg.Add(1)
go func() {
go func(client *ssh.Client) {
defer wg.Done()
client.Run("sudo iptables --flush DOCKER-ISOLATION-STAGE-1")
}()
}(client)

}
distributeNibbler(tn)
Expand Down

0 comments on commit 540dfcb

Please sign in to comment.