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/master to 902a9c5
Date Mon, 25 Aug 2014 23:19:08 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 68b95aec0 -> 902a9c5b7


CLOUDSTACK-7266: Deleting account is not cleaning the snapshot entries
in secondary storage.


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

Branch: refs/heads/master
Commit: 902a9c5b70aef32586f037a4b9be56e9538edab4
Parents: 68b95ae
Author: Min Chen <min.chen@citrix.com>
Authored: Thu Aug 21 18:00:32 2014 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Mon Aug 25 16:09:48 2014 -0700

----------------------------------------------------------------------
 .../cloudstack/storage/resource/NfsSecondaryStorageResource.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/902a9c5b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
----------------------------------------------------------------------
diff --git a/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
index d8b19d3..c0b4da0 100755
--- a/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
+++ b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
@@ -1525,7 +1525,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase
implements S
     private String deleteLocalFile(String fullPath) {
         Script command = new Script("/bin/bash", s_logger);
         command.add("-c");
-        command.add("rm -f " + fullPath);
+        command.add("rm -rf " + fullPath);
         String result = command.execute();
         if (result != null) {
             String errMsg = "Failed to delete file " + fullPath + ", err=" + result;


Mime
View raw message