mirror of https://github.com/apache/cloudstack.git
fix naming issue
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
90d87d0e92
commit
1e9a116bcb
|
|
@ -575,9 +575,7 @@ public class ServerAdapter extends ManagerBase {
|
|||
throw new InvalidParameterValueException("Invalid name specified for the VM");
|
||||
}
|
||||
String displayName = name;
|
||||
if (name.endsWith("_restored")) {
|
||||
name = name.replace("_restored", "-restored");
|
||||
}
|
||||
name = name.replaceAll("_", "-");
|
||||
Long zoneId = null;
|
||||
Long clusterId = null;
|
||||
if (request.getCluster() != null && StringUtils.isNotEmpty(request.getCluster().getId())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue