Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Nov 11, 2024
1 parent c576424 commit c2d2076
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions testutil/postgresqlhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ func GetTestPGUser(t *testing.T, connURL string, username, password, query strin
var exists bool
err = db.QueryRowContext(ctx, "SELECT exists (SELECT rolname FROM pg_roles WHERE rolname=$1);", username).Scan(&exists)
if err != nil && err != sql.ErrNoRows {
t.Fatalf("user does not appear to exist: %w", err)
}
if !exists {
t.Fatalf("!exists: %w", err)
t.Fatalf("user does not appear to exist: %s", err.Error())
}
t.Logf("exists: %b", exists)

Check failure on line 65 in testutil/postgresqlhelper.go

View workflow job for this annotation

GitHub Actions / acceptance (vault-enterprise:1.18.0-ent)

(*testing.common).Logf format %b has arg exists of wrong type bool
}
Expand Down

0 comments on commit c2d2076

Please sign in to comment.