grafana/pkg
Mario Trangoni dde650905d Fix megacheck issue unused code.
I removed some code, and commented out other one.

See,
$ gometalinter --vendor --disable-all --disable=gotype --enable=megacheck --deadline 6m ./... | grep unused
pkg/api/avatar/avatar.go💯26⚠️ func (*CacheServer).mustInt is unused (U1000) (megacheck)
pkg/api/folder_test.go:136:6⚠️ func callGetFolderByUID is unused (U1000) (megacheck)
pkg/api/folder_test.go:141:6⚠️ func callDeleteFolder is unused (U1000) (megacheck)
pkg/api/live/hub.go:40:15⚠️ func (*hub).removeConnection is unused (U1000) (megacheck)
pkg/components/imguploader/azureblobuploader.go:130:5⚠️ var client is unused (U1000) (megacheck)
pkg/middleware/middleware_test.go:438:28⚠️ func (*scenarioContext).withInvalidApiKey is unused (U1000) (megacheck)
pkg/services/alerting/ticker.go:40:18⚠️ func (*Ticker).updateOffset is unused (U1000) (megacheck)
pkg/services/notifications/notifications_test.go:12:6⚠️ type testTriggeredAlert is unused (U1000) (megacheck)
pkg/services/sqlstore/dashboard_service_integration_test.go:935:6⚠️ type scenarioContext is unused (U1000) (megacheck)
pkg/services/sqlstore/dashboard_service_integration_test.go:939:6⚠️ type scenarioFunc is unused (U1000) (megacheck)
pkg/services/sqlstore/dashboard_service_integration_test.go:941:6⚠️ func dashboardGuardianScenario is unused (U1000) (megacheck)
pkg/services/sqlstore/transactions_test.go:13:6⚠️ type testQuery is unused (U1000) (megacheck)
2018-10-01 18:23:59 +02:00
..
api Fix megacheck issue unused code. 2018-10-01 18:23:59 +02:00
bus bus: noop should still execute fn 2018-06-15 12:46:20 +02:00
cmd Merge pull request #13422 from grafana/1815_admin_reset 2018-10-01 16:48:32 +02:00
components Fix megacheck issue unused code. 2018-10-01 18:23:59 +02:00
events feat(signup): progress on new sign up and email verification flow, #2353 2015-08-28 15:14:24 +02:00
extensions refactoring: enterprise build/hooks refactorings (#12478) 2018-07-02 04:33:39 -07:00
log Merge pull request #13031 from bergquist/golang_1.11 2018-09-05 15:31:43 +02:00
login Fix misspell issues 2018-09-21 11:54:36 +02:00
metrics metrics: starts some counters at zero 2018-09-14 10:06:10 +02:00
middleware Fix megacheck issue unused code. 2018-10-01 18:23:59 +02:00
models Merge remote-tracking branch 'origin/master' into stackdriver-plugin 2018-09-26 17:59:56 +02:00
plugins Merge branch 'master' into stackdriver-plugin 2018-09-21 10:17:13 +02:00
registry Improve extensions build. (#12461) 2018-07-01 07:01:43 -07:00
services Fix megacheck issue unused code. 2018-10-01 18:23:59 +02:00
setting Changed setting to be an alerting setting 2018-09-25 12:17:04 +02:00
social Fix goconst issues 2018-09-23 21:19:21 +02:00
tracing pkg/tracing/tracing.go: replace deprecated cfg.New function 2018-09-20 22:32:22 +02:00
tsdb stackdriver: set default view parameter to FULL 2018-09-29 23:45:28 +02:00
util Fix changed want md5 hash 2018-09-21 13:41:03 +02:00