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
a9d485c1
Unverified
Commit
a9d485c1
authored
Mar 12, 2018
by
Carl Bergquist
Committed by
GitHub
Mar 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11205 from matrixik/patch-1
Fix urls in plugin update_checker logs
parents
1a781fce
5a368f99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pkg/plugins/update_checker.go
+3
-3
No files found.
pkg/plugins/update_checker.go
View file @
a9d485c1
...
...
@@ -63,7 +63,7 @@ func checkForUpdates() {
resp
,
err
:=
httpClient
.
Get
(
"https://grafana.com/api/plugins/versioncheck?slugIn="
+
pluginSlugs
+
"&grafanaVersion="
+
setting
.
BuildVersion
)
if
err
!=
nil
{
log
.
Trace
(
"Failed to get plugins repo from grafana.
net
, %v"
,
err
.
Error
())
log
.
Trace
(
"Failed to get plugins repo from grafana.
com
, %v"
,
err
.
Error
())
return
}
...
...
@@ -101,7 +101,7 @@ func checkForUpdates() {
resp2
,
err
:=
httpClient
.
Get
(
"https://raw.githubusercontent.com/grafana/grafana/master/latest.json"
)
if
err
!=
nil
{
log
.
Trace
(
"Failed to get latest.json repo from github: %v"
,
err
.
Error
())
log
.
Trace
(
"Failed to get latest.json repo from github
.com
: %v"
,
err
.
Error
())
return
}
...
...
@@ -115,7 +115,7 @@ func checkForUpdates() {
var
githubLatest
GithubLatest
err
=
json
.
Unmarshal
(
body
,
&
githubLatest
)
if
err
!=
nil
{
log
.
Trace
(
"Failed to unmarshal github
latest, reading response from github
: %v"
,
err
.
Error
())
log
.
Trace
(
"Failed to unmarshal github
.com latest, reading response from github.com
: %v"
,
err
.
Error
())
return
}
...
...
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