fixed conf typo

pull/259/head
Michael Li 1 year ago
parent 3147e25189
commit 6e24ee1c26
No known key found for this signature in database

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

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

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

Loading…
Cancel
Save