Skip to content

Commit e806f9c

Browse files
cuishuanggopherbot
authored andcommitted
internal/postgres: use a more straightforward return value
Change-Id: I954ebf3d4908839e7c7e746b142127887fd936c5 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/653216 Auto-Submit: Carlos Amedee <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]> kokoro-CI: kokoro <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent fa46622 commit e806f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/postgres/delete_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func readSearchDocuments(ctx context.Context, db *DB) ([]searchDocumentRow, erro
134134
if err != nil {
135135
return nil, err
136136
}
137-
return rows, err
137+
return rows, nil
138138
}
139139

140140
func checkSearchDocuments(ctx context.Context, t *testing.T, db *DB, want []searchDocumentRow) {

0 commit comments

Comments
 (0)