grafana/pkg/services
ying-jeanne e979690011
Linter: fix linter for golangci-lint version v1.45.0 (#47623)
* Update golangci-lint to v1.45.2

Version 1.45.0 added support for Go 1.18:

https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md#v1450

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>

* Linter: fix some lints issue for golangci-lint version 1.45.2

Co-authored-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2022-04-12 08:15:16 -04:00
..
accesscontrol AccessControl: Make the built-in role definitions public (#47525) 2022-04-12 09:53:43 +02:00
alerting Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
annotations Access control: SQL filtering for annotation listing (#47467) 2022-04-11 13:18:38 +01:00
auth Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
cleanup Chore: Remove bus.Dispatch from cleanup service (#45401) 2022-02-15 14:56:19 +01:00
comments Fix unmaarshal of double pointer (#47586) 2022-04-12 09:30:34 +02:00
contexthandler Linter: fix linter for golangci-lint version v1.45.0 (#47623) 2022-04-12 08:15:16 -04:00
dashboardimport Plugins: Refactor GetPluginDashboards/LoadPluginDashboard (#46316) 2022-03-10 18:38:04 +01:00
dashboards Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
dashboardsnapshots Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
datasourceproxy Datasource: Fixes storing of secureJSONData when creating/updating datasource (#45290) 2022-02-11 15:52:14 +01:00
datasources Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
encryption Replace encryption.Service usages by secrets.Service (#41625) 2021-11-12 12:16:39 +01:00
featuremgmt UsageStats: track enabled features (#47407) 2022-04-08 12:42:33 +02:00
guardian Access control: use uid for dashboard and folder scopes (#46807) 2022-03-30 15:14:26 +02:00
hooks
kmsproviders Encryption: Refine secrets-related commands (#45201) 2022-02-23 16:04:53 +01:00
ldap LDAP: Use an interface instead of a bus to get group teams (#42165) 2022-02-01 12:03:21 +01:00
libraryelements Chore: Remove bus from alerting rule (#47508) 2022-04-08 14:30:25 +02:00
librarypanels Chore: Remove bus from alerting rule (#47508) 2022-04-08 14:30:25 +02:00
licensing Access control: Move licensing actions to licensing package (#46588) 2022-03-16 14:37:19 +01:00
live Chore: Remove bus from live package (#46803) 2022-03-21 20:34:19 +01:00
login SAML: Allow disabling of SAML signups (#47481) 2022-04-08 18:47:07 -04:00
multildap remove bus from login (#44995) 2022-02-09 17:17:09 +01:00
ngalert Alerting: Add check for datasource permission in alert rule read API (#47087) 2022-04-11 17:37:44 -04:00
notifications chore: remove golang.org/x/net/context in favor of stdlib (#47532) 2022-04-11 08:46:21 -04:00
oauthtoken Chore: Remove bus from oauthtoken (#46811) 2022-03-21 21:13:57 +01:00
plugindashboards Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
pluginsettings Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
provisioning chore: remove golang.org/x/net/context in favor of stdlib (#47532) 2022-04-11 08:46:21 -04:00
query Propagate all headers (#43812) 2022-01-07 12:45:26 -07:00
queryhistory Query history: Search in comments (#46761) 2022-04-08 09:35:34 +02:00
quota Update quota service to accept context (#45186) 2022-02-10 22:17:50 +01:00
rendering Rendering: periodically refresh remote plugin version (#45505) 2022-02-18 20:25:01 +04:00
schemaloader FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
search Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
searchusers Bus: Tests cleanup (#46025) 2022-03-02 11:05:31 +01:00
searchV2 Linter: fix linter for golangci-lint version v1.45.0 (#47623) 2022-04-12 08:15:16 -04:00
secrets Encryption: Make DEKs cache TTL & cleanup interval configurable (#46042) 2022-03-16 20:05:13 +01:00
serviceaccounts Fix unmaarshal of double pointer (#47586) 2022-04-12 09:30:34 +02:00
shorturls
sqlstore Query history: Save user preferences in database (#47506) 2022-04-12 11:42:42 +02:00
store Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
teamguardian ValidatedQueries: start of validated queries API (#44731) 2022-03-07 09:33:01 -09:00
thumbs Previews: fix crawler in multi-org deployments (#46967) 2022-03-29 13:40:11 +01:00
updatechecker Analytics: Enable grafana and plugin update checks to be operated independently (#46352) 2022-04-06 10:50:21 +02:00
validations