Skip to content

Commit

Permalink
Add back get_member_id to refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Klein committed Aug 4, 2023
1 parent aeb2d8c commit aff294d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ etcd_initialize() {
debug_execute chmod -R 700 "$ETCD_DATA_DIR" || true
fi
if [[ ${#initial_members[@]} -gt 1 ]]; then
member_id="$(get_member_id)"
if is_boolean_yes "$ETCD_DISABLE_PRESTOP"; then
info "The member will try to join the cluster by it's own"
export ETCD_INITIAL_CLUSTER_STATE=existing
Expand Down

0 comments on commit aff294d

Please sign in to comment.