mirror of https://github.com/statping/statping
wow. my bad
parent
8d5ace379c
commit
c31f46da5c
|
@ -1,3 +1,6 @@
|
||||||
|
# 0.90.33 (04-24-2020)
|
||||||
|
- Fixed config loading method
|
||||||
|
|
||||||
# 0.90.32 (04-23-2020)
|
# 0.90.32 (04-23-2020)
|
||||||
- Modified the saving and loading process config.yml
|
- Modified the saving and loading process config.yml
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ func LoadConfigFile(directory string) (*DbConfig, error) {
|
||||||
p.Set("DB_PORT", db.DbPort)
|
p.Set("DB_PORT", db.DbPort)
|
||||||
}
|
}
|
||||||
if db.DbPass != "" {
|
if db.DbPass != "" {
|
||||||
p.Set("DB_PASS", db.DbPort)
|
p.Set("DB_PASS", db.DbPass)
|
||||||
}
|
}
|
||||||
if db.DbUser != "" {
|
if db.DbUser != "" {
|
||||||
p.Set("DB_USER", db.DbUser)
|
p.Set("DB_USER", db.DbUser)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.90.32
|
0.90.33
|
||||||
|
|
Loading…
Reference in New Issue