Repository: ambari
Updated Branches:
  refs/heads/trunk c5c1da4c7 -> 33c6e2278


AMBARI-4902. Service Check does not work. (jaimin via yusaku)


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

Branch: refs/heads/trunk
Commit: 33c6e227816ff3f6a791c33c8a030bd33e1d10e9
Parents: c5c1da4
Author: Yusaku Sako <[email protected]>
Authored: Fri Feb 28 17:55:40 2014 -0800
Committer: Yusaku Sako <[email protected]>
Committed: Fri Feb 28 17:55:54 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/utils/ajax.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/33c6e227/ambari-web/app/utils/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax.js b/ambari-web/app/utils/ajax.js
index 02ceb25..5934808 100644
--- a/ambari-web/app/utils/ajax.js
+++ b/ambari-web/app/utils/ajax.js
@@ -89,11 +89,11 @@ var urls = {
       return {
         'type': 'POST',
         data: JSON.stringify({
-          RequestInfo: {
+          "RequestInfo": {
             "context": data.displayName + " Service Check",
-            "command" : data.actionName,
-            "service_name" : data.serviceName
-          }
+            "command" : data.actionName
+          },
+          "Requests/resource_filters": [{"service_name" : data.serviceName}]
         })
       };
     }

Reply via email to