Skip to content

Commit

Permalink
fix(upgrade): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Mar 20, 2024
1 parent 0709f38 commit dcc1314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .taskfiles/talos/scripts/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "New Image: $NEW_IMAGE"
echo "Rollout: $ROLLOUT"

# Get the current machine image
CURRENT_IMAGE="$(talosctl --context staging get machineconfig -n $NODE -o json | jq -r '.spec.machine.install.image')"
CURRENT_IMAGE="$(talosctl --context $CLUSTER get machineconfig -n $NODE -o json | jq -r '.spec.machine.install.image')"
echo "Current Image: $CURRENT_IMAGE"

if test "$CURRENT_IMAGE" == "$NEW_IMAGE"; then
Expand Down

0 comments on commit dcc1314

Please sign in to comment.