Skip to content

Commit

Permalink
use %v instead of %w to pass the build..
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemtoraman committed Dec 17, 2019
1 parent 119a93f commit fdd39ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wait/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ func (w *waitForSql) WaitUntilReady(ctx context.Context, target StrategyTarget)

port, err := target.MappedPort(ctx, w.Port)
if err != nil {
return fmt.Errorf("target.MappedPort: %w", err)
return fmt.Errorf("target.MappedPort: %v", err)
}

db, err := sql.Open(w.Driver, w.URL(port))
if err != nil {
return fmt.Errorf("sql.Open: %w", err)
return fmt.Errorf("sql.Open: %v", err)
}
for {
select {
Expand Down

0 comments on commit fdd39ff

Please sign in to comment.