From fdd39ffb4888b291aa2851ef9d953ddaf9ce6025 Mon Sep 17 00:00:00 2001 From: Erdem Toraman Date: Tue, 17 Dec 2019 10:07:19 +0200 Subject: [PATCH] use %v instead of %w to pass the build.. --- wait/sql.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wait/sql.go b/wait/sql.go index a9acbb4dc8..4498f8d0ea 100644 --- a/wait/sql.go +++ b/wait/sql.go @@ -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 {