CLOUDSTACK-6444: Fixing the issue with iSCSI path Format /targetIQN/LUN.

Signed-off-by: Koushik Das <koushik@apache.org>
This commit is contained in:
Damodar Reddy 2014-06-23 16:10:05 +05:30 committed by Koushik Das
parent 878b0ac164
commit d3ffb7a565

View File

@ -255,7 +255,6 @@ public class CloudStackPrimaryDataStoreLifeCycleImpl implements PrimaryDataStore
if (clusterId == null) {
throw new IllegalArgumentException("IscsiLUN need to have clusters specified");
}
hostPath = hostPath.replaceFirst("/", "");
parameters.setType(StoragePoolType.IscsiLUN);
parameters.setHost(storageHost);
parameters.setPort(port);