Changeset 209


Ignore:
Timestamp:
01/10/06 15:24:37 (16 years ago)
Author:
bastiaans
Message:

job_monarch/overview.php:

  • fixed bug with free nodes/cpus
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/overview.php

    r208 r209  
    617617        $tpl->assignGlobal("used_cpus", $used_cpus );
    618618
    619         $free_nodes = $avail_nodes - $used_nodes;
    620         $free_cpus = $avail_cpus - $used_cpus;
     619        $free_nodes = $avail_nodes - $running_nodes;
     620        $free_cpus = $avail_cpus - $running_cpus;
    621621
    622622        $tpl->assignGlobal("free_nodes", $free_nodes );
Note: See TracChangeset for help on using the changeset viewer.