IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19473


Ignore:
Timestamp:
Sep 10, 2008, 1:55:54 PM (18 years ago)
Author:
bills
Message:

Set needed variables before returning from eval block. Fix typo in error
message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r19431 r19473  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.84 2008-09-09 02:18:47 jhoblitt Exp $
     3# $Id: Server.pm,v 1.85 2008-09-10 23:55:54 bills Exp $
    44
    55package Nebulous::Server;
     
    11851185                # find it, fall back to any volume
    11861186                if ($soft_volume) {
    1187                     return $self->_get_storage_volume;
     1187                    ($vol_id, $vol_host, $vol_path, $xattr) = $self->_get_storage_volume;
     1188                    return; # this just returns out of the eval not from the subroutine
    11881189                }
    11891190                $log->logdie("storage volume: $name is not available");
     
    12451246        unless ($rows > 0) {
    12461247            $query->finish;
    1247             $log->logdie("can't find a suitable storage volume to replicate $key too");
     1248            $log->logdie("can't find a suitable storage volume to replicate $key to");
    12481249        }
    12491250        # when matching by name we shouldn't ever match more than once
Note: See TracChangeset for help on using the changeset viewer.