Making the drivers fingerprint periodically if they are configured to do so

This commit is contained in:
Diptanu Choudhury
2016-03-31 15:15:00 -07:00
parent 6ebf0e9a07
commit 3ec66327bb

View File

@@ -666,6 +666,12 @@ func (c *Client) setupDrivers() error {
if applies {
avail = append(avail, name)
}
p, period := d.Periodic()
if p {
go c.fingerprintPeriodic(name, d, period)
}
}
c.logger.Printf("[DEBUG] client: available drivers %v", avail)