IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28925


Ignore:
Timestamp:
Aug 16, 2010, 2:07:51 PM (16 years ago)
Author:
rhenders
Message:

countFaults method now requires a state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool.pl

    r28825 r28925  
    6464
    6565        if ($key eq "s") {checkServers();}
    66         elsif ($key eq "l") {checkAllLabels("new");}
     66        elsif ($key eq "l") {checkAllLabels("stdscience");}
    6767        elsif ($key eq "u") {$pantasks->getServerCurrentStatus("stdscience");}
    6868        elsif ($key =~ m/[0-9]/) {my $key2=getc; checkOneLabel($stdscienceLabels[($key.$key2)-1]);}
     
    245245    my $new = $gpc1Db->countExposures($label, $stage, $state);
    246246
    247     if ($state ne "new") {return $new;}
    248 
    249     my $faults = $gpc1Db->countFaults($label, $stage);
     247    #if ($state ne "new") {return $new;}
     248
     249    my $faults = $gpc1Db->countFaults($label, $stage, $state);
    250250
    251251    if ($faults < 1) {return $new;}
Note: See TracChangeset for help on using the changeset viewer.