Browse Source

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

Lisnichenko Dmitro 11 years ago
parent
commit
e449076dd5

+ 1 - 1
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);
       }
     }