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
*.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