fix callback installation

This commit is contained in:
Edison Su 2013-04-22 11:18:48 -07:00
parent f3ee8fbd7d
commit 0a6e386997
1 changed files with 1 additions and 1 deletions

View File

@ -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;