You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2018/07/25 15:16:17 UTC

[ambari] branch trunk updated: AMBARI-24344: Upgrade Infra Solr client operation fails for Ubuntu while running migration script for solr upgrade (#1873) (#1885)

This is an automated email from the ASF dual-hosted git repository.

amagyar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 37e7352  AMBARI-24344: Upgrade Infra Solr client operation fails for Ubuntu while running migration script for solr upgrade (#1873) (#1885)
37e7352 is described below

commit 37e7352c442eebf25e3d249e40a36400f9182eaa
Author: jasmeen19 <33...@users.noreply.github.com>
AuthorDate: Wed Jul 25 20:46:14 2018 +0530

    AMBARI-24344: Upgrade Infra Solr client operation fails for Ubuntu while running migration script for solr upgrade (#1873) (#1885)
---
 .../src/main/python/ambari_commons/repo_manager/apt_manager.py        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
index 95a52a9..2136375 100644
--- a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
+++ b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
@@ -29,10 +29,10 @@ from resource_management.core.logger import Logger
 
 
 def replace_underscores(function_to_decorate):
-  def wrapper(*args):
+  def wrapper(*args, **kwargs):
     self = args[0]
     name = args[1].replace("_", "-")
-    return function_to_decorate(self, name, *args[2:])
+    return function_to_decorate(self, name, *args[2:], **kwargs)
   return wrapper