IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2012, 2:49:37 PM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Nebulous-Server/bin/neb-host

    r28526 r33638  
    1818my ($host, $state, $note,
    1919    $db, $dbhost, $dbpass, $dbuser,
    20     $allocate, $available, $debug);
     20    $allocate, $available, $debug,$volume);
    2121
    2222# $db     = $ENV{'NEB_DB'} unless $db;
     
    5656    'dbuser=s'       => \$dbuser,
    5757    'dbpass=s'       => \$dbpass,
    58 
     58    'volume'         => \$volume,
    5959   
    6060    ) || pod2usage( 2 );
     
    9898   
    9999    my %constraint;
    100     $constraint{'v.host'} = $host;
     100    if (defined($volume)) {
     101        $constraint{'v.name'} = $host;
     102    }
     103    else {
     104        $constraint{'v.host'} = $host;
     105    }
    101106    my %set;
    102107    $set{'v.allocate'} = $allocate if defined $allocate;
Note: See TracChangeset for help on using the changeset viewer.