shwstppr commented on a change in pull request #4816:
URL: https://github.com/apache/cloudstack/pull/4816#discussion_r594556775
##########
File path:
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/XenServerStorageProcessor.java
##########
@@ -96,6 +96,14 @@ public XenServerStorageProcessor(final CitrixResourceBase
resource) {
hypervisorResource = resource;
}
+ protected String getSRNameLabel(final PrimaryDataStoreTO primaryStore) {
+ if
(Storage.StoragePoolType.PreSetup.equals(primaryStore.getPoolType()) &&
+ !primaryStore.getPath().contains(primaryStore.getUuid())) {
+ return primaryStore.getPath().replace("/", "");
Review comment:
`StorageFilerTO`, `PrimaryDataStoreTO` and `StoragePool` different
classes
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]