From 0047c8a5fb6b8407c2e30041a2bf3a94736e1172 Mon Sep 17 00:00:00 2001 From: Rahul Sharma Date: Tue, 9 Jul 2024 01:34:58 +0000 Subject: [PATCH] fix lint failure due to deprecation errors --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 19df20d2..d27484f8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,3 +34,8 @@ linters: - musttag - exhaustive - nilnil + +issues: + exclude-rules: + - path: cloud/linode/fake_linode_test.go + text: 'SA1019: (.+).(NodeBalancersPagedResponse|NodeBalancerConfigsPagedResponse|NodeBalancerNodesPagedResponse|FirewallDevicesPagedResponse) is deprecated: (NodeBalancersPagedResponse|NodeBalancerConfigsPagedResponse|NodeBalancerNodesPagedResponse|FirewallDevicesPagedResponse) exists for historical compatibility and should not be used.'