mirror of https://github.com/apache/cloudstack.git
bug 12199: error message returned from API shouldn't include double quote. That's invalid JSON format.
This commit is contained in:
parent
3f35ce40ac
commit
64a54f32a5
|
|
@ -530,7 +530,7 @@ public class ConfigurationManagerImpl implements ConfigurationManager, Configura
|
|||
}
|
||||
} else if (range.equalsIgnoreCase("instanceName")) {
|
||||
if (!NetUtils.verifyInstanceName(value)) {
|
||||
return "Instance name can not contain hyphen, spaces and \"+\" char";
|
||||
return "Instance name can not contain hyphen, spaces and plus sign";
|
||||
}
|
||||
}else {
|
||||
String[] options = range.split(",");
|
||||
|
|
|
|||
Loading…
Reference in New Issue