IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17737


Ignore:
Timestamp:
May 19, 2008, 10:52:37 AM (18 years ago)
Author:
jhoblitt
Message:

typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r17725 r17737  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Client.pm,v 1.50 2008-05-16 23:37:54 jhoblitt Exp $
     3# $Id: Client.pm,v 1.51 2008-05-19 20:52:37 jhoblitt Exp $
    44
    55package Nebulous::Client;
     
    183183        };
    184184        if ($@ =~ qr/file doesn't exist/) {
    185             $log->set_err($@);
     185            $self->set_err($@);
    186186            sleep 1;
    187187        } else {
     
    635635        {
    636636            #volume
    637             type        => SCALAR,
     637            type        => SCALAR|UNDEF,
    638638            optional    => 1,
    639639        },
     
    650650            return;
    651651        }
     652        # key is valid but no instances are on the specified volume
     653        if ($response->faultstring =~ /no instances on storage volume/) {
     654            $log->debug( "leaving" );
     655            return;
     656        }
    652657
    653658        $log->logdie("unhandled fault - ", $self->err);
     
    670675            type        => SCALAR,
    671676        },
    672     );
    673 
    674     $log->debug( "entered - @_" );
    675 
    676     my $locations = $self->find_instances( $key );
     677        {
     678            #volume
     679            type        => SCALAR|UNDEF,
     680            optional    => 1,
     681        },
     682    );
     683
     684    $log->debug( "entered - @_" );
     685
     686    my $locations = $self->find_instances( $key, undef );
    677687
    678688    my $path;
Note: See TracChangeset for help on using the changeset viewer.