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" {