Skip to content

Commit

Permalink
Fix KairosDB connector
Browse files Browse the repository at this point in the history
If a plots query returns results with empty series, skip them instead
of returning an error for the whole query.
  • Loading branch information
Marc Falzon authored and Marc Falzon committed Oct 3, 2016
1 parent 7ae8cc2 commit 9084f6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/connector/kairosdb.go
Expand Up @@ -441,8 +441,9 @@ func kairosdbExtractPlots(query *plot.Query, kairosdbSeries map[string]map[strin
}
}

// Skip series if target not found
if target == "" {
return nil, fmt.Errorf("no plot target found")
continue
}

series := &plot.Series{
Expand Down

0 comments on commit 9084f6a

Please sign in to comment.