Changeset 25130 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Aug 19, 2009, 1:10:43 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r25124 r25130 374 374 my $fault = 0; 375 375 376 if (0) { 377 # XXX this doesn't work because not all ippTools outputs include data_state 378 # fix chipTool also need to not make this test for raw stage 379 if ((($stage ne 'stack') and ($image->{data_state} ne 'full')) or $image->{state} ne 'full' ){ 380 # XXX here is where we need to queue an update job 381 # for now just say that the image is not available 382 $newState = 'stop'; 383 $fault = 49; 384 } 385 } 376 if (($stage ne 'stack') and ($stage ne 'raw')) { 377 if (($image->{state} eq 'goto_purged') or ($image->{data_state} eq 'purged')) { 378 $newState = 'stop'; 379 $fault = $PSTAMP_GONE; 380 } elsif (($image->{data_state} ne 'full') or ($image->{state} ne 'full' )) { 381 # XXX here is where we need to queue an update job 382 # for now just say that the image is not available 383 $newState = 'stop'; 384 $fault = $PSTAMP_NOT_AVAILABLE; 385 } 386 } 386 387 387 388 $num_jobs++;
Note:
See TracChangeset
for help on using the changeset viewer.
