add log entry when disabled
This commit is contained in:
parent
3f00f963df
commit
d327f50913
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue