From 549fbdbc2a26b9df32f49e1535d1dfb3a524877f Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Tue, 26 Jan 2010 20:52:38 +0000 Subject: Fix typo --- src/lib/rrdMultiFile.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/lib/rrdMultiFile.js b/src/lib/rrdMultiFile.js index ada8322..b11d523 100644 --- a/src/lib/rrdMultiFile.js +++ b/src/lib/rrdMultiFile.js @@ -20,25 +20,25 @@ function RRDRRASum(rra_list,offset_list,treat_undefined_as_zero) { this.row_cnt= this.rra_list[0].getNrRows(); } -RRDRRA.prototype.getIdx = function() { +RRDRRASum.prototype.getIdx = function() { return this.rra_list[0].getIdx(); } // Get number of rows/columns -RRDRRA.prototype.getNrRows = function() { +RRDRRASum.prototype.getNrRows = function() { return this.row_cnt; } -RRDRRA.prototype.getNrDSs = function() { +RRDRRASum.prototype.getNrDSs = function() { return this.rra_list[0].getNrDSs(); } // Get RRA step (expressed in seconds) -RRDRRA.prototype.getStep = function() { +RRDRRASum.prototype.getStep = function() { return this.rra_list[0].getStep(); } // Get consolidation function name -RRDRRA.prototype.getCFName = function() { +RRDRRASum.prototype.getCFName = function() { return this.rra_list[0].getCFName(); } -- cgit v1.2.3-54-g00ecf