Skip to content

Commit 74b356f

Browse files
committed
Ok golangci-lint
1 parent c26ef6b commit 74b356f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/kibana/alerting.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ var frequencyMinSupportedVersion = version.Must(version.NewVersion("8.6.0"))
2222
var alertsFilterMinSupportedVersion = version.Must(version.NewVersion("8.9.0"))
2323
var alertDelayMinSupportedVersion = version.Must(version.NewVersion("8.13.0"))
2424

25-
//nolint:staticcheck Avoid lint error on deprecated SchemaValidateFunc usage.
25+
// Avoid lint error on deprecated SchemaValidateFunc usage.
26+
//
27+
//nolint:staticcheck
2628
func stringIsAlertingDuration() schema.SchemaValidateFunc {
2729
r := regexp.MustCompile(`^[0-9]+(?:\.[0-9]+)?(?:d|h|m|s)$`)
2830
return validation.StringMatch(r, "string is not a valid Alerting duration in seconds (s), minutes (m), hours (h), or days (d)")

0 commit comments

Comments
 (0)