Skip to content

Commit cb364ac

Browse files
committed
Remove the confirmation step
Breaks in direct curl
1 parent 88c87d1 commit cb364ac

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

deploy-to-swarm.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,6 @@ print_green "✓ Found $NODE_COUNT nodes:"
152152
echo "$NODES"
153153
echo
154154

155-
# Ask for confirmation before proceeding
156-
read -r -p "Proceed with ${ACTION} on these nodes? [Y/n] " CONFIRM
157-
if [[ "$CONFIRM" =~ ^[Nn]$ ]]; then
158-
echo "Aborted."
159-
exit 0
160-
fi
161-
echo
162-
163155
# Function to get SSH target for a node
164156
get_node_target() {
165157
local node="$1"

0 commit comments

Comments
 (0)