Skip to content

Commit

Permalink
Fix log debug dump
Browse files Browse the repository at this point in the history
  • Loading branch information
toxuin committed Jul 3, 2022
1 parent df0bcb8 commit b509747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (c *Config) Load() *Config {
Hikvision: HikvisionConfig{
Enabled: viper.GetBool("hikvision.enabled"),
},
Dahua: DahuaConfig{
Dahua: DahuaConfig{
Enabled: viper.GetBool("dahua.enabled"),
},
}
Expand Down Expand Up @@ -246,6 +246,7 @@ func (c *Config) Printout() {
c.Ftp.Enabled,
c.Ftp.Port,
c.Ftp.AllowFiles,
c.Ftp.Password != "",
c.Ftp.RootPath,
c.Mqtt.Enabled,
c.Mqtt.Port,
Expand Down

0 comments on commit b509747

Please sign in to comment.