Skip to content

Commit 524c7f1

Browse files
committed
Revert "more refactor"
This reverts commit 7297c3c.
1 parent 7297c3c commit 524c7f1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

internal/util/buildinfo.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ func GetBuildInfo(ctx context.Context, client *mongo.Client) (BuildInfo, error)
3030

3131
var msg string
3232
_, err = mbson.RawLookup(rawResp, &msg, "msg")
33-
if err != nil {
34-
return BuildInfo{}, errors.Wrap(err, "failed to determine topology from build info")
35-
}
3633
bi.IsSharded = msg == "isdbgrid"
3734

3835
return bi, nil

internal/verifier/integration_test_suite.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const (
2424
TopologySharded TestTopology = "sharded"
2525
)
2626

27+
var knownTopologies = []TestTopology{TopologyReplset, TopologySharded}
28+
2729
type IntegrationTestSuite struct {
2830
suite.Suite
2931
srcConnStr, dstConnStr, metaConnStr string

0 commit comments

Comments
 (0)