Author: eallen
Date: 2009-10-05 13:48:58 -0400 (Mon, 05 Oct 2009)
New Revision: 3667
Modified:
mgmt/trunk/cumin/python/cumin/stat.py
Log:
Added duration parameter to StatValueChart href so default duration will be recognized
Modified: mgmt/trunk/cumin/python/cumin/stat.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/stat.py 2009-10-05 15:58:23 UTC (rev 3666)
+++ mgmt/trunk/cumin/python/cumin/stat.py 2009-10-05 17:48:58 UTC (rev 3667)
@@ -135,6 +135,7 @@
params.append("class=%s" % cls)
params.append("id=%i" % object.id)
params.append("chart_id=%s" % self.render_id(session, None))
+ params.append("duration=%s" % self.duration.get(session))
for stat in self.stats:
params.append("stat=%s" % stat)
Show replies by date