From 0a6e3869970e6ee175f269c3788551e61e328612 Mon Sep 17 00:00:00 2001 From: Edison Su Date: Mon, 22 Apr 2013 11:18:48 -0700 Subject: [PATCH] fix callback installation --- .../datastore/driver/CloudStackImageStoreDriverImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0c078b1e316..049a0364e8e 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 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;