summaryrefslogtreecommitdiff
path: root/jarmon/jarmon.js
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-09-10 11:52:52 +0100
committerRichard Wall <richard@largo>2011-09-10 11:52:52 +0100
commit4c6febb4bfebf27bf98e4617755d40d8dcab1861 (patch)
treee241ea5e447271cca537c11c719bb496c36ae982 /jarmon/jarmon.js
parentb404903c1d43af270a0349890f439b4e0637831e (diff)
#846377 Pass transformer function to the RrdQuery and add a unit test
Diffstat (limited to 'jarmon/jarmon.js')
-rw-r--r--jarmon/jarmon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index d8cf305..32fce6d 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -529,7 +529,7 @@ jarmon.RrdQueryRemote.prototype._callRemote = function(methodName, args) {
var rrd = new RRDFile(res);
self.lastUpdate = rrd.getLastUpdate();
- var rq = new jarmon.RrdQuery(rrd, self.unit);
+ var rq = new jarmon.RrdQuery(rrd, self.unit, self.transformer);
try {
ret.resolve(rq[methodName].apply(rq, args));
} catch(e) {