You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/08/11 22:00:52 UTC
git commit: AMBARI-6293. Python client bootstrap hosts is broken.
(Greg Hill via Subin)
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 <ja...@hortonworks.com>
Authored: Mon Aug 11 13:00:15 2014 -0700
Committer: Jaimin Jetly <ja...@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,