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 2aab3c8
Date Tue, 21 May 2013 21:55:25 GMT
Updated Branches:
  refs/heads/object_store a4e6784e0 -> 2aab3c884


CLOUDSTACK-2594: Failed to add Secondary storage for second zone through
old addSecondaryStorage api.

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

Branch: refs/heads/object_store
Commit: 2aab3c88491c286acf2eb61aa8298ad6c1ce4bb1
Parents: a4e6784
Author: Min Chen <min.chen@citrix.com>
Authored: Tue May 21 14:55:07 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue May 21 14:55:07 2013 -0700

----------------------------------------------------------------------
 .../src/com/cloud/storage/StorageManagerImpl.java  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2aab3c88/server/src/com/cloud/storage/StorageManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/StorageManagerImpl.java b/server/src/com/cloud/storage/StorageManagerImpl.java
index 3d92052..0313b49 100755
--- a/server/src/com/cloud/storage/StorageManagerImpl.java
+++ b/server/src/com/cloud/storage/StorageManagerImpl.java
@@ -1687,6 +1687,7 @@ public class StorageManagerImpl extends ManagerBase implements StorageManager,
C
             if (storeProvider == null) {
                 throw new InvalidParameterValueException("can't find image store provider:
" + providerName);
             }
+            providerName = storeProvider.getName(); // ignored passed provider name and use
default image store provider name
         }
 
         Long dcId = cmd.getZoneId();


Mime
View raw message