mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Give primary VMFS datastore meaningful name
This commit is contained in:
parent
1aff4d8a9a
commit
b874bbda91
@ -1022,7 +1022,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
||||
}
|
||||
pool = new StoragePoolVO(StoragePoolType.ISO, storageHost, port, hostPath);
|
||||
} else if (scheme.equalsIgnoreCase("vmfs")) {
|
||||
pool = new StoragePoolVO(StoragePoolType.VMFS, storageHost, 0, hostPath);
|
||||
pool = new StoragePoolVO(StoragePoolType.VMFS, "VMFS datastore: " + hostPath, 0, hostPath);
|
||||
} else {
|
||||
s_logger.warn("Unable to figure out the scheme for URI: " + uri);
|
||||
throw new IllegalArgumentException("Unable to figure out the scheme for URI: " + uri);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user