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
d2aaa221
Commit
d2aaa221
authored
Mar 07, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(plugins): fixed failing unit tests, fixes #4280
parent
f4666df7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pkg/plugins/frontend_plugin.go
+1
-1
tests/app-plugin-json/plugin.json
+1
-1
No files found.
pkg/plugins/frontend_plugin.go
View file @
d2aaa221
...
@@ -32,7 +32,7 @@ func (fp *FrontendPluginBase) initFrontendPlugin() {
...
@@ -32,7 +32,7 @@ func (fp *FrontendPluginBase) initFrontendPlugin() {
fp
.
Info
.
Logos
.
Large
=
evalRelativePluginUrlPath
(
fp
.
Info
.
Logos
.
Large
,
fp
.
BaseUrl
)
fp
.
Info
.
Logos
.
Large
=
evalRelativePluginUrlPath
(
fp
.
Info
.
Logos
.
Large
,
fp
.
BaseUrl
)
for
i
:=
0
;
i
<
len
(
fp
.
Info
.
Screenshots
);
i
++
{
for
i
:=
0
;
i
<
len
(
fp
.
Info
.
Screenshots
);
i
++
{
fp
.
Info
.
Screenshots
[
i
]
.
Path
=
evalRelativePluginUrlPath
(
fp
.
Info
.
Screenshots
[
i
]
.
Path
,
fp
.
Id
)
fp
.
Info
.
Screenshots
[
i
]
.
Path
=
evalRelativePluginUrlPath
(
fp
.
Info
.
Screenshots
[
i
]
.
Path
,
fp
.
BaseUrl
)
}
}
}
}
...
...
tests/app-plugin-json/plugin.json
View file @
d2aaa221
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"name"
:
"App Example"
,
"name"
:
"App Example"
,
"id"
:
"app-example"
,
"id"
:
"app-example"
,
"staticRoot"
:
" ./public
"
,
"staticRoot"
:
".
"
,
"module"
:
"app"
,
"module"
:
"app"
,
"pages"
:
[
"pages"
:
[
...
...
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