소스 검색

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

Lisnichenko Dmitro 11 년 전
부모
커밋
e449076dd5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperImpl.java

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