Ignore:
Timestamp:
03/24/13 20:18:46 (9 years ago)
Author:
ramonb
Message:
  • make sure range is correctly set and passed on
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/graph.php

    r738 r739  
    8686{
    8787    $series = '';
    88     if( isset( $period_start ) && isset( $period_stop ) )
    89     {
    90         if( $size == 'overview-medium' )
    91         {
    92             $rrd_dirs[] = $conf['rrds'] . '/' . $cluster .'/'. $hostname;
    93         }
    94         else
    95         {
    96             $trd = new TarchRrdGraph( $cluster, $hostname );
    97             $rrd_dirs = $trd->getRrdDirs( $period_start, $period_stop );
    98         }
     88    if( $size == 'overview-medium' )
     89    {
     90        $rrd_dirs[] = $conf['rrds'] . '/' . $cluster .'/'. $hostname;
     91    }
     92    else
     93    {
     94        $trd = new TarchRrdGraph( $cluster, $hostname );
     95        $rrd_dirs = $trd->getRrdDirs( $period_start, $period_stop );
    9996    }
    10097
Note: See TracChangeset for help on using the changeset viewer.