diff options
| author | Eric Long <i@hack3r.moe> | 2024-12-24 17:48:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-24 01:48:37 -0800 |
| commit | e4d0dce9045fa446ddfb7857229ebf34f01596e9 (patch) | |
| tree | a27210115b7e240b96a4319d350c7206ca96b65b /go.mod | |
| parent | 9b9101b46bf5700789fcc4dbd77dabc5637a19df (diff) | |
| download | seaweedfs-e4d0dce9045fa446ddfb7857229ebf34f01596e9.tar.xz seaweedfs-e4d0dce9045fa446ddfb7857229ebf34f01596e9.zip | |
Replace bolt dependency with bbolt (#6387)
There are some dependencies that still depends on the unmaintained bolt after
https://github.com/seaweedfs/seaweedfs/pull/3554. Replace it so that we can
have one less dependency, and build on newer architecture like RISC-V.
Two lines of `replace` are required because Go refuses to replace
`github.com/boltdb/bolt` with `go.etcd.io/bbolt` when the latter is also
present in the dependency tree. Replace it again with
`github.com/etcd-io/bbolt` solves the issue.
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -369,3 +369,8 @@ require ( ) // replace github.com/seaweedfs/raft => /Users/chrislu/go/src/github.com/seaweedfs/raft + +replace ( + github.com/boltdb/bolt => go.etcd.io/bbolt v1.3.10 + go.etcd.io/bbolt => github.com/etcd-io/bbolt v1.3.10 +) |
