summaryrefslogtreecommitdiff
path: root/src/daq
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-12 17:22:15 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-12 17:22:15 +0200
commitb238bd8d4bb4102f82218125c537dce1394b09c0 (patch)
tree1ae3d8b5af9e34dfc5f88c2d97435220210f7a0e /src/daq
parentadded a check for simplejson existance (diff)
renamed flumotion rrd importer, fixed dataset cnt
Diffstat (limited to 'src/daq')
-rwxr-xr-xsrc/daq/flumotion-rrd/sfive-flumotion-rrd.py (renamed from src/daq/flumotion-rrd/flumotion-rrd.py)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daq/flumotion-rrd/flumotion-rrd.py b/src/daq/flumotion-rrd/sfive-flumotion-rrd.py
index 59ba6f6..f749929 100755
--- a/src/daq/flumotion-rrd/flumotion-rrd.py
+++ b/src/daq/flumotion-rrd/sfive-flumotion-rrd.py
@@ -151,7 +151,7 @@ class FlumotionRRD():
except ValueError as err:
print 'SFive: timestamp "%d" seems wrong: %s' % (ts, err)
- return max
+ return cnt
def _sendDataset(self, timestamp, duration, client_count, bytes_sent):
data = { "start-time": timestamp.isoformat('T'),