Changeset 18389 for trunk/Nebulous-Server/lib/Nebulous/Server.pm
- Timestamp:
- Jun 30, 2008, 2:28:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r18017 r18389 1 1 # Copyright (c) 2004-2008 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.7 7 2008-06-09 20:34:30jhoblitt Exp $3 # $Id: Server.pm,v 1.78 2008-07-01 00:28:06 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 178 178 } 179 179 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); 181 181 182 182 my $uri; … … 353 353 } 354 354 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); 356 356 357 357 my $uri; … … 1152 1152 my $name = shift; 1153 1153 1154 my ($vol_id, $vol_ path, $xattr);1154 my ($vol_id, $vol_host, $vol_path, $xattr); 1155 1155 eval { 1156 1156 # TODO cache this? … … 1183 1183 1184 1184 my $free; 1185 ($vol_id, $vol_ path, $xattr, $free) = $query->fetchrow_array;1185 ($vol_id, $vol_host, $vol_path, $xattr, $free) = $query->fetchrow_array; 1186 1186 $query->finish; 1187 1187 }; … … 1193 1193 $log->debug( "leaving" ); 1194 1194 1195 return ($vol_id, $vol_ path, $xattr);1195 return ($vol_id, $vol_host, $vol_path, $xattr); 1196 1196 } 1197 1197
Note:
See TracChangeset
for help on using the changeset viewer.
