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

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new b63329d  use loop_control and loop_var to fix warning (#4092)
b63329d is described below

commit b63329d76e4204efe698d8339cdbf9dbf550d6a7
Author: Eugene Sypachev <[email protected]>
AuthorDate: Wed Oct 31 21:52:46 2018 +0300

    use loop_control and loop_var to fix warning (#4092)
---
 ansible/roles/controller/tasks/join_akka_cluster.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/controller/tasks/join_akka_cluster.yml 
b/ansible/roles/controller/tasks/join_akka_cluster.yml
index bf11b5b..93b69e1 100644
--- a/ansible/roles/controller/tasks/join_akka_cluster.yml
+++ b/ansible/roles/controller/tasks/join_akka_cluster.yml
@@ -17,10 +17,12 @@
   set_fact:
     env: >-
       {{ env | combine({
-        'CONFIG_akka_cluster_seedNodes_' ~ item.0:
-          
'akka.tcp://controller-actor-system@'~item.1~':'~(controller.akka.cluster.basePort+item.0)
+        'CONFIG_akka_cluster_seedNodes_' ~ seedNode.0:
+          
'akka.tcp://controller-actor-system@'~seedNode.1~':'~(controller.akka.cluster.basePort+seedNode.0)
       }) }}
   with_indexed_items: "{{ controller.akka.cluster.seedNodes }}"
+  loop_control:
+    loop_var: seedNode
 
 - name: Add akka environment to controller environment
   vars:

Reply via email to