Updated Branches: refs/heads/object_store f3ee8fbd7 -> 0a6e38699
fix callback installation Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0a6e3869 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0a6e3869 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0a6e3869 Branch: refs/heads/object_store Commit: 0a6e3869970e6ee175f269c3788551e61e328612 Parents: f3ee8fb Author: Edison Su <sudi...@gmail.com> Authored: Mon Apr 22 11:18:48 2013 -0700 Committer: Edison Su <sudi...@gmail.com> Committed: Mon Apr 22 11:18:48 2013 -0700 ---------------------------------------------------------------------- .../driver/CloudStackImageStoreDriverImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0a6e3869/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java ---------------------------------------------------------------------- diff --git a/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java b/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java index 0c078b1..049a036 100644 --- a/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java +++ b/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java @@ -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;