Skip to content

Commit bd64c39

Browse files
authored
Merge pull request #37 from Dot-Liu/main
修复_commit表和_latest表初始化失败的问题
2 parents c1275c4 + 1a856a9 commit bd64c39

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

service/api/service.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@ func init() {
4747

4848
commit.InitCommitWithKeyService[Proxy]("api", string(HistoryProxy))
4949
commit.InitCommitWithKeyService[Request]("api", string(HistoryRequest))
50-
5150
}

stores/universally/commit/wtype.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type StoreWidthType[H any] struct {
2222
func NewCommitWithKey[H any](name, key string) *StoreWidthType[H] {
2323
return &StoreWidthType[H]{
2424
Store: Store[H]{
25+
name: name,
2526
latestTableName: name + "_latest",
2627
commitTableName: name + "_commit",
2728
},

0 commit comments

Comments
 (0)