Skip to content

Commit

Permalink
Fix check for removing etcd member (kubernetes-sigs#5051)
Browse files Browse the repository at this point in the history
Change-Id: Ib27d051ff111f813097a9b33a86465a2a30a6db0
  • Loading branch information
mattymo authored and k8s-ci-robot committed Aug 7, 2019
1 parent a44235d commit 75d1be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/remove-node/post-remove/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
delegate_to: "{{ groups['etcd']|first }}"
when:
- inventory_hostname in groups['etcd']
- not etcd_member_id.stdout
- etcd_member_id.stdout | length > 0

0 comments on commit 75d1be8

Please sign in to comment.