mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix a bug in deleteTemplate return result.
This commit is contained in:
parent
8a514ea4b8
commit
ac1b75dc9f
@ -299,7 +299,7 @@ public class CloudStackImageStoreDriverImpl implements ImageStoreDriver {
|
||||
} else {
|
||||
s_logger.debug("Deleted template at: " + installPath);
|
||||
CommandResult result = new CommandResult();
|
||||
result.setSucess(false);
|
||||
result.setSucess(true);
|
||||
callback.complete(result);
|
||||
}
|
||||
|
||||
|
||||
@ -311,7 +311,7 @@ public class S3ImageStoreDriverImpl implements ImageStoreDriver {
|
||||
} else {
|
||||
s_logger.debug("Deleted template at: " + installPath);
|
||||
CommandResult result = new CommandResult();
|
||||
result.setSucess(false);
|
||||
result.setSucess(true);
|
||||
callback.complete(result);
|
||||
}
|
||||
|
||||
|
||||
@ -302,7 +302,7 @@ public class SwiftImageStoreDriverImpl implements ImageStoreDriver {
|
||||
} else {
|
||||
s_logger.debug("Deleted template at: " + installPath);
|
||||
CommandResult result = new CommandResult();
|
||||
result.setSucess(false);
|
||||
result.setSucess(true);
|
||||
callback.complete(result);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user