From 4f91de6e241ec7a0413234bed8d118317493ce9c Mon Sep 17 00:00:00 2001 From: Ian Howell Date: Fri, 6 Dec 2019 15:48:53 -0600 Subject: [PATCH] Fix deprecated field in linter config The `deadline` field was deprecated in v1.21.0 of the linter in favor of `timeout` Change-Id: I543930d522311fa3e41c14d55624703bbc4e2b99 --- .golangci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index b3178d2be..ccc481806 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -7,7 +7,7 @@ run: concurrency: 4 # timeout for analysis, e.g. 30s, 5m, default is 1m - deadline: 5m + timeout: 5m # exit code when at least one issue was found, default is 1 issues-exit-code: 1