mirror of https://github.com/apache/cloudstack.git
fix callback installation
This commit is contained in:
parent
f3ee8fbd7d
commit
0a6e386997
|
|
@ -173,7 +173,7 @@ public class CloudStackImageStoreDriverImpl implements ImageStoreDriver {
|
|||
AsyncCallbackDispatcher<CloudStackImageStoreDriverImpl, DownloadAnswer> caller =
|
||||
AsyncCallbackDispatcher.create(this);
|
||||
caller.setContext(context);
|
||||
caller.setCallback(callback);
|
||||
caller.setCallback(this.createAsyncCallback(null, null));
|
||||
|
||||
if (data.getType() == DataObjectType.TEMPLATE) {
|
||||
TemplateObject tData = (TemplateObject)data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue