From 458e818cc68f8c06537aeabb89e0ea7762cc109d Mon Sep 17 00:00:00 2001 From: Chris Elder Date: Mon, 3 Jun 2024 10:57:28 -0400 Subject: [PATCH] Correct Linter errors in fabproxy removal Signed-off-by: Chris Elder --- examples/fabproxy-removal/01-migrate-all-ca-addresses.yml | 4 ++-- .../tasks/03-migrate-imported-orderering-node-address.yml | 1 - examples/fabproxy-removal/tasks/05-update-channel.yml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/fabproxy-removal/01-migrate-all-ca-addresses.yml b/examples/fabproxy-removal/01-migrate-all-ca-addresses.yml index 3bbde5d..c9aa156 100644 --- a/examples/fabproxy-removal/01-migrate-all-ca-addresses.yml +++ b/examples/fabproxy-removal/01-migrate-all-ca-addresses.yml @@ -32,6 +32,6 @@ include_tasks: tasks/01-update-ca-metadata.yml loop: "{{ result.certificate_authorities }}" loop_control: - loop_var: certificate_authority - label: "{{ certificate_authority.name }}" + loop_var: certificate_authority + label: "{{ certificate_authority.name }}" when: certificate_authority.imported == False diff --git a/examples/fabproxy-removal/tasks/03-migrate-imported-orderering-node-address.yml b/examples/fabproxy-removal/tasks/03-migrate-imported-orderering-node-address.yml index c628859..c3c4c81 100644 --- a/examples/fabproxy-removal/tasks/03-migrate-imported-orderering-node-address.yml +++ b/examples/fabproxy-removal/tasks/03-migrate-imported-orderering-node-address.yml @@ -17,4 +17,3 @@ fail: msg: "Ordering Service Node {{ ordering_service_node.name }} was not updated" when: not result.changed - diff --git a/examples/fabproxy-removal/tasks/05-update-channel.yml b/examples/fabproxy-removal/tasks/05-update-channel.yml index ee318fe..2d9afe6 100644 --- a/examples/fabproxy-removal/tasks/05-update-channel.yml +++ b/examples/fabproxy-removal/tasks/05-update-channel.yml @@ -100,4 +100,4 @@ path: completed_channels.txt line: " - {{ channel_name }}" create: yes - when: update_addresses.changed \ No newline at end of file + when: update_addresses.changed