Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
fix get current pd leader error when rolling update pd (#1081) (#1122)
Browse files Browse the repository at this point in the history
* fix get current pd leader error when rolling update pd
  • Loading branch information
liubo0127 authored Jan 15, 2020
1 parent 2f234bb commit 0159dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common_tasks/transfer_pd_leader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
body_format: json
status_code: 200
register: pd_leader_info
until: pd_leader_info.json.name is defined and pd_leader_info.json.name != pd_name
until: pd_leader_info.json is defined and pd_leader_info.json.name is defined and pd_leader_info.json.name != pd_name
retries: 12
delay: 10
failed_when: false
Expand All @@ -65,7 +65,7 @@
body_format: json
status_code: 200
register: pd_leader_info_tls
until: pd_leader_info_tls.json.name is defined and pd_leader_info_tls.json.name != pd_name
until: pd_leader_info_tls.json is defined and pd_leader_info_tls.json.name is defined and pd_leader_info_tls.json.name != pd_name
retries: 12
delay: 10
failed_when: false
Expand Down

0 comments on commit 0159dae

Please sign in to comment.