Skip to content

Commit

Permalink
remove extra white space
Browse files Browse the repository at this point in the history
  • Loading branch information
aateeqi committed Jan 19, 2022
1 parent ae8048a commit af952b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/inputs/logfile/logfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ func TestLogsFileRecreate(t *testing.T) {
defer lsrc.Stop()

// Waiting 10 seconds for the recreated temp file to be detected is plenty sufficient on any OS.
for start := time.Now(); time.Since(start) < 10 * time.Second; {
for start := time.Now(); time.Since(start) < 10*time.Second; {
lsrcs = tt.FindLogSrc()
if len(lsrcs) > 0 {
break
Expand Down Expand Up @@ -1205,5 +1205,3 @@ func TestCheckForDuplicateRetentionSettingsWithDefault(t *testing.T) {
assert.Equal(t, tt.FileConfig[1].RetentionInDays, -1)
assert.Equal(t, tt.FileConfig[2].RetentionInDays, -1)
}


0 comments on commit af952b1

Please sign in to comment.