diff --git a/accessors/clients/spanner/client/interface.go b/accessors/clients/spanner/client/interface.go index 3ef01d8e2..170d12471 100644 --- a/accessors/clients/spanner/client/interface.go +++ b/accessors/clients/spanner/client/interface.go @@ -46,7 +46,7 @@ func (c *SpannerClientImpl) Refresh(ctx context.Context, dbURI string) error { } func (c *SpannerClientImpl) Single() ReadOnlyTransaction { - rotxn := c.spannerClient.ReadOnlyTransaction() + rotxn := c.spannerClient.Single() return &ReadOnlyTransactionImpl{rotxn: rotxn} }