fixed conf typo

pull/351/head
Michael Li 2 years ago
parent a46e217909
commit 2081b4e197
No known key found for this signature in database

@ -1,3 +1,4 @@
.DS_Store .DS_Store
*.log *.log
__debug_bin __debug_bin
settings.json

@ -42,7 +42,7 @@ var (
TweetSearchSetting *tweetSearchConf TweetSearchSetting *tweetSearchConf
ZincSetting *zincConf ZincSetting *zincConf
MeiliSetting *meiliConf MeiliSetting *meiliConf
ObjectStorage *objectStorageS ObjectStorage *objectStorageConf
AliOSSSetting *aliOSSConf AliOSSSetting *aliOSSConf
COSSetting *cosConf COSSetting *cosConf
HuaweiOBSSetting *huaweiOBSConf HuaweiOBSSetting *huaweiOBSConf

@ -166,7 +166,7 @@ type sqlite3Conf struct {
Path string Path string
} }
type objectStorageS struct { type objectStorageConf struct {
RetainInDays int RetainInDays int
TempDir string TempDir string
} }
@ -343,7 +343,7 @@ func (s *loggerMeiliConf) maxLogBuffer() int {
return s.MaxLogBuffer return s.MaxLogBuffer
} }
func (s *objectStorageS) TempDirSlash() string { func (s *objectStorageConf) TempDirSlash() string {
return strings.Trim(s.TempDir, " /") + "/" return strings.Trim(s.TempDir, " /") + "/"
} }

Loading…
Cancel
Save