IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19274


Ignore:
Timestamp:
Aug 28, 2008, 3:38:31 PM (18 years ago)
Author:
bills
Message:

set ds_id for new request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_webrequest.pl

    r18986 r19274  
    117117
    118118# Queue the request
    119 my $request_id = 0;
     119my $req_id = 0;
    120120{
    121121
    122     my $command = "$pstamptool -addreq -uri $request_file";
     122    my $command = "$pstamptool -addreq -uri $request_file -ds_id 0";
    123123    $command .= " -dbname $dbname" if $dbname;
    124124    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    128128        die("Unable to perform pstamptool -addreq: $error_code");
    129129    }
    130     $request_id = ${$stdout_buf}[0];
     130    $req_id = ${$stdout_buf}[0];
    131131}
    132132
    133 print "$request_id";
     133print "$req_id";
    134134
    135135exit 0;
Note: See TracChangeset for help on using the changeset viewer.