Description of problem:
When trying to remove a data domain without the "format" option, an error message is returned, but it has a typo (formated instead of formatted).
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
This error is triggered when trying to delete a data domain, without the format option.
The UI already blocks this scenario, so it can be reproduces only when removing the storage domain via REST.
Example using CURL:
curl -X DELETE -v -u "myuser@mydomain":mypassword \
-H "Content-type: application/xml" \
-d "<storage_domain id=\"ca081725-7d45-43cd-9ac7-20c29de6ceb6\"><host id=\"eaffadfa-e6cf-11e1-87fa-77d0dfff24de\"/><format>false</format></storage_domain>" 'http://localhost:8080/api/storagedomains/ca081725-7d45-43cd-9ac7-20c29de6ceb6' \
-v
Expected Results:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fault><reason>Operation Failed</reason><detail>[Cannot remove Storage Domain. Data storage must be formatted after remove.
-Please verify that Format option is enabled on the Data Domain.]</detail></fault>
Actual Results:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><fault><reason>Operation Failed</reason><detail>[Cannot remove Storage Domain. Data storage must be formated after remove.
-Please verify that Format option is enabled on the Data Domain.]</detail></fault>