mirror of
https://github.com/kemko/nomad.git
synced 2026-01-11 04:45:42 +03:00
Improve language re: fingerprinting
This commit is contained in:
@@ -678,7 +678,7 @@ func (c *Client) fingerprint() error {
|
||||
|
||||
// fingerprintPeriodic runs a fingerprinter at the specified duration.
|
||||
func (c *Client) fingerprintPeriodic(name string, f fingerprint.Fingerprint, d time.Duration) {
|
||||
c.logger.Printf("[DEBUG] client: periodically fingerprinting %v at duration %v", name, d)
|
||||
c.logger.Printf("[DEBUG] client: fingerprinting %v every %v", name, d)
|
||||
for {
|
||||
select {
|
||||
case <-time.After(d):
|
||||
|
||||
Reference in New Issue
Block a user