[v9.3.x] CI: Update golangci-lint to 1.51.2 for Go 1.20 compatibility (#65506)

[v9.3.x] Update golangci-lint to 1.51.2 for Go 1.20 compatibility
This commit is contained in:
Horst Gutmann
2023-03-29 10:42:59 +02:00
committed by GitHub
parent 972a9c5957
commit 64f074ca8d
18 changed files with 181 additions and 15 deletions
-8
View File
@@ -20,14 +20,6 @@ var (
testUpdateOrgQuotaCmd = `{ "limit": 20 }`
)
var testOrgQuota = setting.OrgQuota{
User: 10,
DataSource: 10,
Dashboard: 10,
ApiKey: 10,
AlertRule: 10,
}
// setupDBAndSettingsForAccessControlQuotaTests stores users and create two orgs
func setupDBAndSettingsForAccessControlQuotaTests(t *testing.T, sc accessControlScenarioContext) {
t.Helper()