IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 30, 2008, 2:28:07 PM (18 years ago)
Author:
jhoblitt
Message:

add volume.host field

File:
1 edited

Legend:

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

    r18017 r18389  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.77 2008-06-09 20:34:30 jhoblitt Exp $
     3# $Id: Server.pm,v 1.78 2008-07-01 00:28:06 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    178178    }
    179179       
    180     my ($vol_id, $vol_path, $vol_xattr) = $self->_get_storage_volume($vol_name);
     180    my ($vol_id, $vol_host, $vol_path, $vol_xattr) = $self->_get_storage_volume($vol_name);
    181181
    182182    my $uri;
     
    353353    }
    354354       
    355     my ($vol_id, $vol_path, $vol_xattr) = $self->_get_storage_volume($vol_name);
     355    my ($vol_id, $vol_host, $vol_path, $vol_xattr) = $self->_get_storage_volume($vol_name);
    356356
    357357    my $uri;
     
    11521152    my $name = shift;
    11531153
    1154     my ($vol_id, $vol_path, $xattr);
     1154    my ($vol_id, $vol_host, $vol_path, $xattr);
    11551155    eval {
    11561156        # TODO cache this?
     
    11831183
    11841184        my $free;
    1185         ($vol_id, $vol_path, $xattr, $free) = $query->fetchrow_array;
     1185        ($vol_id, $vol_host, $vol_path, $xattr, $free) = $query->fetchrow_array;
    11861186        $query->finish;
    11871187    };
     
    11931193    $log->debug( "leaving" );
    11941194
    1195     return ($vol_id, $vol_path, $xattr);
     1195    return ($vol_id, $vol_host, $vol_path, $xattr);
    11961196}
    11971197
Note: See TracChangeset for help on using the changeset viewer.