cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/object_store to ac1b75d
Date Wed, 08 May 2013 00:59:14 GMT
Updated Branches:
  refs/heads/object_store 8a514ea4b -> ac1b75dc9


Fix a bug in deleteTemplate return result.

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ac1b75dc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ac1b75dc
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ac1b75dc

Branch: refs/heads/object_store
Commit: ac1b75dc9f212ba97f1acf6759151cd8d3f0ff10
Parents: 8a514ea
Author: Min Chen <min.chen@citrix.com>
Authored: Tue May 7 17:58:45 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue May 7 17:58:45 2013 -0700

----------------------------------------------------------------------
 .../driver/CloudStackImageStoreDriverImpl.java     |    2 +-
 .../datastore/driver/S3ImageStoreDriverImpl.java   |    2 +-
 .../driver/SwiftImageStoreDriverImpl.java          |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ac1b75dc/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 8e9572c..84c5ea5 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
@@ -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);
                 }
 

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ac1b75dc/plugins/storage/image/s3/src/org/apache/cloudstack/storage/datastore/driver/S3ImageStoreDriverImpl.java
----------------------------------------------------------------------
diff --git a/plugins/storage/image/s3/src/org/apache/cloudstack/storage/datastore/driver/S3ImageStoreDriverImpl.java
b/plugins/storage/image/s3/src/org/apache/cloudstack/storage/datastore/driver/S3ImageStoreDriverImpl.java
index b1d2f95..354151e 100644
--- a/plugins/storage/image/s3/src/org/apache/cloudstack/storage/datastore/driver/S3ImageStoreDriverImpl.java
+++ b/plugins/storage/image/s3/src/org/apache/cloudstack/storage/datastore/driver/S3ImageStoreDriverImpl.java
@@ -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);
                 }
 

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ac1b75dc/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
----------------------------------------------------------------------
diff --git a/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
b/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
index bbda45c..0eb3acf 100644
--- a/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
+++ b/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
@@ -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);
                 }
 


Mime
View raw message