Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
slaskawi committed Oct 14, 2024
1 parent 14da3e4 commit 50c1796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/util/mongotester/mongotester.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (m *Tester) HasKeyfileAuth(tries int, opts ...OptionApplier) func(t *testin
}

func (m *Tester) HasFCV(fcv string, tries int, opts ...OptionApplier) func(t *testing.T) {
return m.hasAdminParameter("featureCompatibilityVersion", map[string]interface{}{"version": fcv}, tries, opts...)
return m.hasAdminParameter("featureCompatibilityVersion", bson.D{{"version", fcv}}, tries, opts...)

Check failure on line 123 in test/e2e/util/mongotester/mongotester.go

View workflow job for this annotation

GitHub Actions / Golangci-lint

composites: go.mongodb.org/mongo-driver/v2/bson.E struct literal uses unkeyed fields (govet)
}

func (m *Tester) ScramIsConfigured(tries int, opts ...OptionApplier) func(t *testing.T) {
Expand Down

0 comments on commit 50c1796

Please sign in to comment.