Skip to content

Commit

Permalink
Update timesyncsensor.go
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Nov 7, 2024
1 parent 7beab85 commit 7ad4ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timesyncsensor/timesyncsensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ func (s *timeSyncer) Readings(context.Context, map[string]interface{}) (map[stri
}

// Otherwise, do not sync.
s.logger.Debug("Not syncing. Current time not in sync window: " + currentTime)
s.logger.Debug("Not syncing. Current time not in sync window: " + currentTime.String())
return readings, nil
}

// Close closes the underlying generic.
func (s *timeSyncer) Close(ctx context.Context) error {
s.cancelFunc()
return nil
}
}

0 comments on commit 7ad4ff3

Please sign in to comment.