You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2013/12/05 17:58:49 UTC

git commit: AMBARI-3990. Pluggable services: service_repository_info is not sent (dlysnichenko)

Updated Branches:
  refs/heads/trunk e578087a8 -> e449076dd


AMBARI-3990. Pluggable services: service_repository_info is not sent (dlysnichenko)


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

Branch: refs/heads/trunk
Commit: e449076dd58beb3b065de2397dbc59e3e81c06b4
Parents: e578087
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Thu Dec 5 18:51:34 2013 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Thu Dec 5 18:51:34 2013 +0200

----------------------------------------------------------------------
 .../server/controller/AmbariCustomCommandExecutionHelperImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e449076d/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperImpl.java
index cd5f6fb..b33f8f6 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperImpl.java
@@ -439,7 +439,7 @@ public class AmbariCustomCommandExecutionHelperImpl implements AmbariCustomComma
       // Choose repo that is relevant for host
       ServiceOsSpecific.Repo serviceRepo= hostOs.getRepo();
       if (serviceRepo != null) {
-        String serviceRepoInfo = gson.toJson(serviceInfo);
+        String serviceRepoInfo = gson.toJson(serviceRepo);
         hostParams.put(SERVICE_REPO_INFO, serviceRepoInfo);
       }
     }