Skip to content

Commit 20675c8

Browse files
authored
mongo: delete dead code (#3399)
1 parent af17478 commit 20675c8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

flow/shared/mongo/commands.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ func GetBuildInfo(ctx context.Context, client *mongo.Client) (BuildInfo, error)
1616
return runCommand[BuildInfo](ctx, client, "buildInfo")
1717
}
1818

19-
type ReplSetGetStatus struct {
20-
Set string `bson:"set"`
21-
MyState int `bson:"myState"`
22-
}
23-
24-
func GetReplSetGetStatus(ctx context.Context, client *mongo.Client) (ReplSetGetStatus, error) {
25-
return runCommand[ReplSetGetStatus](ctx, client, "replSetGetStatus")
26-
}
27-
2819
type OplogTruncation struct {
2920
OplogMinRetentionHours float64 `bson:"oplogMinRetentionHours"`
3021
}

0 commit comments

Comments
 (0)