Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
2332b3e2
Unverified
Commit
2332b3e2
authored
Oct 26, 2018
by
Marcus Efraimsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused code
parent
52d825f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
pkg/cmd/grafana-server/server.go
+0
-5
pkg/models/datasource.go
+0
-5
No files found.
pkg/cmd/grafana-server/server.go
View file @
2332b3e2
...
...
@@ -21,7 +21,6 @@ import (
"golang.org/x/sync/errgroup"
"github.com/grafana/grafana/pkg/api"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/services/cache"
"github.com/grafana/grafana/pkg/setting"
...
...
@@ -29,9 +28,7 @@ import (
// self registering services
_
"github.com/grafana/grafana/pkg/extensions"
_
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/middleware"
_
"github.com/grafana/grafana/pkg/plugins"
"github.com/grafana/grafana/pkg/registry"
_
"github.com/grafana/grafana/pkg/services/alerting"
_
"github.com/grafana/grafana/pkg/services/cleanup"
_
"github.com/grafana/grafana/pkg/services/notifications"
...
...
@@ -39,9 +36,7 @@ import (
_
"github.com/grafana/grafana/pkg/services/rendering"
_
"github.com/grafana/grafana/pkg/services/search"
_
"github.com/grafana/grafana/pkg/services/sqlstore"
"github.com/grafana/grafana/pkg/setting"
// self registering services
_
"github.com/grafana/grafana/pkg/tracing"
"golang.org/x/sync/errgroup"
)
func
NewGrafanaServer
()
*
GrafanaServerImpl
{
...
...
pkg/models/datasource.go
View file @
2332b3e2
...
...
@@ -207,11 +207,6 @@ func (p DsPermissionType) String() string {
return
names
[
int
(
p
)]
}
type
GetDataSourcePermissionsForUserQuery
struct
{
User
*
SignedInUser
Result
map
[
int64
]
DsPermissionType
}
type
DatasourcesPermissionFilterQuery
struct
{
User
*
SignedInUser
Datasources
[]
*
DataSource
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment