summaryrefslogtreecommitdiff
path: root/jarmon/jarmon.js
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2010-12-30 12:56:10 +0000
committerRichard Wall <richard@largo>2010-12-30 12:56:10 +0000
commitb3b166f6455b8556b5f14f35f8f755f26d5d87e1 (patch)
treee8d2374005eb48f389ebb8eeaff12a6547e63f18 /jarmon/jarmon.js
parentc71886f059b6d2ad68f55a37c891f26898a5c7be (diff)
Unit tests for RrdQueryRemote
Diffstat (limited to 'jarmon/jarmon.js')
-rw-r--r--jarmon/jarmon.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index a66a93b..6e1d1f8 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -316,7 +316,7 @@ jarmon.RrdQueryRemote.prototype._callRemote = function(methodName, args) {
};
-jarmon.RrdQueryRemote.prototype.getData = function(startTime, endTime, dsId) {
+jarmon.RrdQueryRemote.prototype.getData = function(startTime, endTime, dsId, cfName) {
/**
* Return a Flot compatible data series asynchronously.
*
@@ -329,7 +329,7 @@ jarmon.RrdQueryRemote.prototype.getData = function(startTime, endTime, dsId) {
if(this.lastUpdate < endTime/1000) {
this._download = null;
}
- return this._callRemote('getData', [startTime, endTime, dsId]);
+ return this._callRemote('getData', [startTime, endTime, dsId, cfName]);
};
/**