Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
use python3 for JSON parsing rather than python
Browse files Browse the repository at this point in the history
  • Loading branch information
asauber authored and phillc committed Oct 7, 2020
1 parent 72d3d47 commit 3a8d0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/masters/scripts/local/kubeadm-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

# Extract "host" argument from the input into HOST shell variable
eval "$(python -c 'import sys, json; print("HOST="+json.load(sys.stdin)["host"])')" 2>/dev/null || true
eval "$(python3 -c 'import sys, json; print("HOST="+json.load(sys.stdin)["host"])')" 2>/dev/null || true

# TODO: pass the ssh key into this command
# Fetch the join command
Expand Down

0 comments on commit 3a8d0ea

Please sign in to comment.