Skip to content

Commit

Permalink
pretty print peers if setup error
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Nov 10, 2023
1 parent b6ac657 commit 062e5b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/general_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestPingAllByIP(t *testing.T) {

scenario, err := NewScenario()
assertNoErr(t, err)
// defer scenario.Shutdown()
defer scenario.Shutdown()

spec := map[string]int{
"user1": len(MustTestVersions),
Expand Down
2 changes: 1 addition & 1 deletion integration/scenario.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func (s *Scenario) WaitForTailscaleSync() error {
for _, user := range s.users {
for _, client := range user.Clients {
peers, _ := client.PrettyPeers()
log.Printf(peers)
log.Println(peers)

}
}
Expand Down

0 comments on commit 062e5b5

Please sign in to comment.