Skip to content

Commit

Permalink
fix logging where debug should have been debugf
Browse files Browse the repository at this point in the history
  • Loading branch information
aetaric committed Dec 15, 2023
1 parent 26ca6f5 commit 419999a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion connections/lidarr.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (l *Lidarr) FromConfig(conf *viper.Viper) {
l.Port = conf.GetInt("port")
l.BaseURL = conf.GetString("baseurl")
l.pathMaps = conf.GetStringMapString("mappings")
log.Debug("Lidarr Path Maps: %v", l.pathMaps)
log.Debugf("Lidarr Path Maps: %v", l.pathMaps)
} else {
l.Process = false
}
Expand Down
2 changes: 1 addition & 1 deletion connections/radarr.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (r *Radarr) FromConfig(conf *viper.Viper) {
r.Port = conf.GetInt("port")
r.BaseURL = conf.GetString("baseurl")
r.pathMaps = conf.GetStringMapString("mappings")
log.Debug("Radarr Path Maps: %v", r.pathMaps)
log.Debugf("Radarr Path Maps: %v", r.pathMaps)
} else {
r.Process = false
}
Expand Down
2 changes: 1 addition & 1 deletion connections/sonarr.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (s *Sonarr) FromConfig(conf *viper.Viper) {
s.Port = conf.GetInt("port")
s.BaseURL = conf.GetString("baseurl")
s.pathMaps = conf.GetStringMapString("mappings")
log.Debug("Sonarr Path Maps: %v", s.pathMaps)
log.Debugf("Sonarr Path Maps: %v", s.pathMaps)
} else {
s.Process = false
}
Expand Down

0 comments on commit 419999a

Please sign in to comment.