mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
bug #3911: Do not trigget TM transfers if a save_as image has been
deleted.
This commit is contained in:
1 parent
8e8da32686
commit
39bf8212ee
1 file changed
+8
@@ -408,6 +408,14 @@ static int mkfs_action(istringstream& is,
|
||||
|
||||
return ds_id;
|
||||
}
|
||||
else if ( image->get_state() == Image::DELETE )
|
||||
{
|
||||
NebulaLog::log("ImM", Log::INFO, "Ignoring mkfs callback, image is "
|
||||
"being deleted");
|
||||
|
||||
image->unlock();
|
||||
return ds_id;
|
||||
}
|
||||
|
||||
is_saving = image->is_saving();
|
||||
ds_id = image->get_ds_id();
|
||||
|
||||
Reference in new issue
Block a user