ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-6293. Python client bootstrap hosts is broken. (Greg Hill via Subin)
Date Mon, 11 Aug 2014 20:00:52 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 3782678a3 -> 89203a38b


AMBARI-6293. Python client bootstrap hosts is broken. (Greg Hill via Subin)


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

Branch: refs/heads/trunk
Commit: 89203a38b1bb1efd4ad56c6790f132dd72dc2b4c
Parents: 3782678
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Mon Aug 11 13:00:15 2014 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Mon Aug 11 13:00:15 2014 -0700

----------------------------------------------------------------------
 .../python-client/src/main/python/ambari_client/model/host.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/89203a38/ambari-client/python-client/src/main/python/ambari_client/model/host.py
----------------------------------------------------------------------
diff --git a/ambari-client/python-client/src/main/python/ambari_client/model/host.py b/ambari-client/python-client/src/main/python/ambari_client/model/host.py
index f6c39d6..bc0e396 100644
--- a/ambari-client/python-client/src/main/python/ambari_client/model/host.py
+++ b/ambari-client/python-client/src/main/python/ambari_client/model/host.py
@@ -222,7 +222,7 @@ def _bootstrap_hosts(root_resource, hosts_list, ssh_key, ssh_user):
     payload_dic = {
         "verbose": True,
         "sshKey": ssh_key,
-        "hosts": str(hosts_list),
+        "hosts": hosts_list,
         "user": ssh_user}
     resp = root_resource.post(
         paths.BOOTSTRAP_PATH,


Mime
View raw message