GitHub user DaanHoogland opened a pull request:
https://github.com/apache/cloudstack/pull/1349
CLOUDSTACK-9239 throw exception on deprecated command
an API call to LockAccount fails silently with a 200 return and no
contents. client are responsible to check and will find that no locking has
actually occured. This way they may be lured to a sense of false security.
Throwing an exption makes the failure explicit.
cloudmonkey lock account name=<name> domainid=<id>
now errors out with an http result of 530
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DaanHoogland/cloudstack CLOUDSTACK-9239
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1349.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1349
----
commit 28e17165c0105caa09c54105863944ff156a19f0
Author: Daan Hoogland <[email protected]>
Date: 2016-01-18T14:01:33Z
CLOUDSTACK-9239 throw exception on deprecated command
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---