Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavcracker committed Jan 17, 2025
1 parent 4672c5e commit 69ab630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubemarine/kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,9 @@ def init_first_control_plane(group: NodeGroup) -> None:

# Preparing join_dict to init other nodes
control_plane_lines = list(result.values())[0].stdout. \
split("You can now join any number of the control-plane")[1].splitlines()[2:5]
split("You can now join any number of the control-plane")[0].splitlines()[2:5]
worker_lines = list(result.values())[0].stdout. \
split("Then you can join any number of worker")[1].splitlines()[2:4]
split("Then you can join any number of worker")[0].splitlines()[2:4]
control_plane_join_command = " ".join([x.replace("\\", "").strip() for x in control_plane_lines])
worker_join_command = " ".join([x.replace("\\", "").strip() for x in worker_lines])

Expand Down

0 comments on commit 69ab630

Please sign in to comment.