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
5eb36e65
Commit
5eb36e65
authored
Jan 16, 2018
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use context over golang.org/x/net/context
parent
87064bff
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
6 deletions
+10
-6
pkg/api/login_oauth.go
+1
-1
pkg/metrics/graphitebridge/graphite.go
+2
-1
pkg/plugins/datasource/tsdb/datasource_plugin_wrapper.go
+2
-1
pkg/plugins/datasource/tsdb/grpc.go
+2
-1
pkg/plugins/datasource/tsdb/interface.go
+1
-1
pkg/social/social.go
+2
-1
No files found.
pkg/api/login_oauth.go
View file @
5eb36e65
package
api
import
(
"context"
"crypto/rand"
"crypto/tls"
"crypto/x509"
...
...
@@ -11,7 +12,6 @@ import (
"net/http"
"net/url"
"golang.org/x/net/context"
"golang.org/x/oauth2"
"github.com/grafana/grafana/pkg/bus"
...
...
pkg/metrics/graphitebridge/graphite.go
View file @
5eb36e65
...
...
@@ -26,9 +26,10 @@ import (
"strings"
"time"
"context"
"github.com/prometheus/common/expfmt"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
dto
"github.com/prometheus/client_model/go"
...
...
pkg/plugins/datasource/tsdb/datasource_plugin_wrapper.go
View file @
5eb36e65
package
tsdb
import
(
"context"
"fmt"
"github.com/grafana/grafana/pkg/components/null"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/tsdb"
proto
"github.com/grafana/grafana/pkg/tsdb/models"
"golang.org/x/net/context"
)
func
NewDatasourcePluginWrapper
(
log
log
.
Logger
,
plugin
TsdbPlugin
)
*
DatasourcePluginWrapper
{
...
...
pkg/plugins/datasource/tsdb/grpc.go
View file @
5eb36e65
package
tsdb
import
(
"context"
proto
"github.com/grafana/grafana/pkg/tsdb/models"
"golang.org/x/net/context"
)
type
GRPCClient
struct
{
...
...
pkg/plugins/datasource/tsdb/interface.go
View file @
5eb36e65
package
tsdb
import
(
"
golang.org/x/net/
context"
"context"
proto
"github.com/grafana/grafana/pkg/tsdb/models"
plugin
"github.com/hashicorp/go-plugin"
...
...
pkg/social/social.go
View file @
5eb36e65
...
...
@@ -4,7 +4,8 @@ import (
"net/http"
"strings"
"golang.org/x/net/context"
"context"
"golang.org/x/oauth2"
"github.com/grafana/grafana/pkg/setting"
...
...
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