Skip to content

Commit ff8b25a

Browse files
committed
fix, should fill null at end timestamp
1 parent afa5393 commit ff8b25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/plugins/datasource/prometheus/datasource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function (angular, _, moment, dateMath) {
230230
});
231231

232232
var endTimestamp = end * 1000;
233-
for (var t = baseTimestamp; t < endTimestamp; t += stepMs) {
233+
for (var t = baseTimestamp; t <= endTimestamp; t += stepMs) {
234234
dps.push([null, t]);
235235
}
236236

0 commit comments

Comments
 (0)