From a695556cc493d97eadd7dcbb9bff033eb5119a0e Mon Sep 17 00:00:00 2001 From: "B. Branchard" Date: Wed, 9 Sep 2026 01:28:33 +0200 Subject: [PATCH] Fix typo in the remote_private_key error message --- scripts/docker-entrypoint.sh | 2 +- tests/entrypoint.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh index 100cf6f..3c63b55 100755 --- a/scripts/docker-entrypoint.sh +++ b/scripts/docker-entrypoint.sh @@ -218,7 +218,7 @@ if [[ -z "${REMOTE_USER}" ]]; then exit 1 fi if [[ -z "${REMOTE_PRIVATE_KEY}" ]]; then - echo "Input private_key is required!" + echo "Input remote_private_key is required!" exit 1 fi # CHECK STACK VARIABLES diff --git a/tests/entrypoint.bats b/tests/entrypoint.bats index 90bbc5f..35c2215 100644 --- a/tests/entrypoint.bats +++ b/tests/entrypoint.bats @@ -55,7 +55,7 @@ run_entrypoint() { @test "remote_private_key is required" { run_entrypoint REMOTE_HOST=swarm.example.com REMOTE_USER=deploy [ "$status" -eq 1 ] - [[ "$output" == *"Input private_key is required!"* ]] + [[ "$output" == *"Input remote_private_key is required!"* ]] } @test "stack_file is required" {