From 2b3662508140356950ecf336e34d568415518756 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Mon, 27 Sep 2021 16:04:40 -0500 Subject: [PATCH] missed test handler --- go.mod | 2 +- pg/pgtest/handler.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e590bdd1b..d64a32730 100644 --- a/go.mod +++ b/go.mod @@ -54,7 +54,7 @@ require ( golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect golang.org/x/text v0.3.5 // indirect google.golang.org/grpc v1.28.0 - gopkg.in/yaml.v2 v2.3.0 // indirect + gopkg.in/yaml.v2 v2.3.0 modernc.org/mathutil v1.0.0 modernc.org/strutil v1.0.0 sigs.k8s.io/yaml v1.2.0 // indirect diff --git a/pg/pgtest/handler.go b/pg/pgtest/handler.go index 02b1361e2..845aedf19 100644 --- a/pg/pgtest/handler.go +++ b/pg/pgtest/handler.go @@ -33,6 +33,9 @@ func (h HandlerFunc) HandleQuery(ctx context.Context, w pg.QueryResultWriter, q func (h HandlerFunc) HandleSchema(ctx context.Context, portal *pg.Portal) error { return nil } +func (h HandlerFunc) Version() string { + return "testv1" +} var _ pg.QueryHandler = HandlerFunc(nil)