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
35920838
Unverified
Commit
35920838
authored
Jul 25, 2018
by
Marcus Efraimsson
Committed by
GitHub
Jul 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12709 from mtanda/cw_404_err_fix
fix invalid reference
parents
01ba973c
055d208a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pkg/tsdb/cloudwatch/cloudwatch.go
+3
-2
No files found.
pkg/tsdb/cloudwatch/cloudwatch.go
View file @
35920838
...
@@ -99,14 +99,15 @@ func (e *CloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, queryCo
...
@@ -99,14 +99,15 @@ func (e *CloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, queryCo
continue
continue
}
}
RefId
:=
queryContext
.
Queries
[
i
]
.
RefId
query
,
err
:=
parseQuery
(
queryContext
.
Queries
[
i
]
.
Model
)
query
,
err
:=
parseQuery
(
queryContext
.
Queries
[
i
]
.
Model
)
if
err
!=
nil
{
if
err
!=
nil
{
result
.
Results
[
query
.
RefId
]
=
&
tsdb
.
QueryResult
{
result
.
Results
[
RefId
]
=
&
tsdb
.
QueryResult
{
Error
:
err
,
Error
:
err
,
}
}
return
result
,
nil
return
result
,
nil
}
}
query
.
RefId
=
queryContext
.
Queries
[
i
]
.
RefId
query
.
RefId
=
RefId
if
query
.
Id
!=
""
{
if
query
.
Id
!=
""
{
if
_
,
ok
:=
getMetricDataQueries
[
query
.
Region
];
!
ok
{
if
_
,
ok
:=
getMetricDataQueries
[
query
.
Region
];
!
ok
{
...
...
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