From 1aeada1006591d9c2f9341aa3539bec223a7c20f Mon Sep 17 00:00:00 2001 From: Baptiste Merliot <42059119+BMerliot@users.noreply.github.com> Date: Fri, 16 May 2025 17:18:24 +0200 Subject: [PATCH] Fix circular recursion in Snapshot.Option --- bindings/go/src/fdb/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/go/src/fdb/snapshot.go b/bindings/go/src/fdb/snapshot.go index 4a2d7095030..7100c38a6ac 100644 --- a/bindings/go/src/fdb/snapshot.go +++ b/bindings/go/src/fdb/snapshot.go @@ -118,5 +118,5 @@ func (s Snapshot) GetRangeSplitPoints(r ExactRange, chunkSize int64) FutureKeyAr // Snapshot returns the receiver and allows Snapshot to satisfy the // ReadTransaction interface. func (s Snapshot) Options() TransactionOptions { - return s.Options() + return TransactionOptions{s.transaction} }