You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/01/16 01:09:15 UTC

git commit: Use 429 Error code for API_LIMIT_EXCEED error due to latest Http status code in http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error

Updated Branches:
  refs/heads/api_limit 4355d06a8 -> 3698d64ba


Use 429 Error code for API_LIMIT_EXCEED error due to latest Http status
code in
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error

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

Branch: refs/heads/api_limit
Commit: 3698d64ba2457833d18eb2a5c275a55437ed4eba
Parents: 4355d06
Author: Min Chen <mi...@citrix.com>
Authored: Tue Jan 15 16:08:47 2013 -0800
Committer: Min Chen <mi...@citrix.com>
Committed: Tue Jan 15 16:08:47 2013 -0800

----------------------------------------------------------------------
 api/src/org/apache/cloudstack/api/BaseCmd.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/3698d64b/api/src/org/apache/cloudstack/api/BaseCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/BaseCmd.java b/api/src/org/apache/cloudstack/api/BaseCmd.java
index 8053042..ae8bb2f 100644
--- a/api/src/org/apache/cloudstack/api/BaseCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseCmd.java
@@ -87,7 +87,7 @@ public abstract class BaseCmd {
     public static final int PARAM_ERROR = 431;
     public static final int UNSUPPORTED_ACTION_ERROR = 432;
     public static final int PAGE_LIMIT_EXCEED = 433;
-    public static final int API_LIMIT_EXCEED = 434;
+    public static final int API_LIMIT_EXCEED = 429;
 
     // Server error codes
     public static final int INTERNAL_ERROR = 530;