IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39926 for trunk/Nebulous/lib


Ignore:
Timestamp:
Jan 6, 2017, 11:30:10 AM (10 years ago)
Author:
eugene
Message:

merging changes from czw dev branch (compare with r39924)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/Nebulous/lib/Nebulous/Client.pm

    r31850 r39926  
    1818use Params::Validate qw( validate validate_pos SCALAR UNDEF BOOLEAN );
    1919#use SOAP::Lite +trace => [qw( debug )];
     20use Sys::Hostname;
    2021use SOAP::Lite;
    2122use Time::HiRes qw( sleep );
     
    858859
    859860    $log->debug( "entered - @_" );
     861   
     862    unless(defined($params[0])) {
     863        $params[0] = hostname() . ".0";
     864#       print STDERR "Setting host to $params[0]\n";
     865    }
    860866
    861867    my $response = $self->{ 'server' }->find_instances( $key, @params );
     
    980986    $log->debug( "entered - @_" );
    981987
     988    my $find_volume = hostname() . ".0";
     989    $params[0] = $find_volume;
    982990    my $locations = $self->find_instances( $key, @params );
    983991    unless (defined $locations) {
Note: See TracChangeset for help on using the changeset viewer.