From 49dbae5c325a6c231325869d131530ca2317b78c Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 30 Aug 2023 16:08:10 +0200 Subject: [PATCH] Use .golangci config for toml.Delete issues Signed-off-by: Evan Lezar --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 80492d3e..cd7efc23 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -22,3 +22,8 @@ issues: linters: - gocritic text: dupSubExpr + # Exclude the checks for usage of returns to config.Delete(Path) in the crio and containerd config packages. + - path: pkg/config/engine/ + linters: + - errcheck + text: config.Delete