Skip to content

Commit

Permalink
Prohobit the linter from adding a semantically incorrect period
Browse files Browse the repository at this point in the history
  • Loading branch information
dgottlieb committed Nov 19, 2024
1 parent 4af9101 commit ee96069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ftdc/ftdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ func (ftdc *FTDC) checkAndDeleteOldFiles() error {
// deletion testing. Filename generation uses padding such that we can rely on there before 2/4
// digits for every numeric value.
//
//nolint
// Example filename: countingBytesTest1228324349/viam-server-2024-11-18T20-37-01Z.ftdc
var filenameTimeRe = regexp.MustCompile(`viam-server-(\d{4})-(\d{2})-(\d{2})T(\d{2})-(\d{2})-(\d{2})Z.ftdc`)

Expand Down

0 comments on commit ee96069

Please sign in to comment.