Changeset 17765 for trunk/Nebulous/lib
- Timestamp:
- May 21, 2008, 3:39:55 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/lib/Nebulous/Client.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/lib/Nebulous/Client.pm
r17763 r17765 1 1 # Copyright (c) 2004-2008 Joshua Hoblitt 2 2 # 3 # $Id: Client.pm,v 1.5 3 2008-05-21 20:46:18jhoblitt Exp $3 # $Id: Client.pm,v 1.54 2008-05-22 01:39:41 jhoblitt Exp $ 4 4 5 5 package Nebulous::Client; … … 245 245 my $success = File::Copy::copy( $fh, $new_fh ); 246 246 unless ($success) { 247 $self->delete_instance("$uri"); 247 # if the copy failed we now have a zero length instances floating 248 # around that must be removed 249 unless ($self->delete_instance("$uri")) { 250 $log->logdie( "can not copy instance $uri AND FAILED TO CLEANUP EMPTY INSTANCE" ); 251 } 248 252 $log->logdie( "can not copy instance $uri" ); 249 253 }
Note:
See TracChangeset
for help on using the changeset viewer.
