You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2016/01/20 14:18:39 UTC

[08/10] git commit: updated refs/heads/master to 6f9215c

Merge pull request #1349 from DaanHoogland/CLOUDSTACK-9239

CLOUDSTACK-9239 throw exception on deprecated commandan 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

* pr/1349:
  CLOUDSTACK-9239 throw exception on deprecated command

Signed-off-by: Remi Bergsma <gi...@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d9ce59f1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d9ce59f1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d9ce59f1

Branch: refs/heads/master
Commit: d9ce59f11cb192c3a93d0f6f85190523f972259e
Parents: 0b5aa78 9e72796
Author: Remi Bergsma <gi...@remi.nl>
Authored: Wed Jan 20 13:47:26 2016 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Wed Jan 20 13:47:26 2016 +0100

----------------------------------------------------------------------
 .../command/admin/account/LockAccountCmd.java   | 25 +++++++++-----------
 1 file changed, 11 insertions(+), 14 deletions(-)
----------------------------------------------------------------------