From 06304bfb0d429486a0291aacde54fc0857279b2c Mon Sep 17 00:00:00 2001 From: Alessandro De Blasis Date: Thu, 9 Jun 2022 16:17:20 +0100 Subject: [PATCH] lint: conversion --- agent/config/runtime_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/config/runtime_test.go b/agent/config/runtime_test.go index 6f8105dfaf..9c629eda71 100644 --- a/agent/config/runtime_test.go +++ b/agent/config/runtime_test.go @@ -2472,7 +2472,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) { rt.Checks = []*structs.CheckDefinition{ {Name: "a", OSService: "foo", - Interval: time.Duration(30 * time.Second), + Interval: 30 * time.Second, OutputMaxSize: checks.DefaultBufSize, }, }