add log entry when disabled

This commit is contained in:
davidnewhall2 2020-02-02 19:06:17 -08:00
parent 3f00f963df
commit d327f50913
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ func (u *InfluxUnifi) Run(c poller.Collect) error {
var err error
if u.Config == nil || u.Disable {
c.Logf("InfluxDB config missing (or disabled), InfluxDB output disabled!")
return nil
}