Skip to content

Commit

Permalink
fix(entrypoint): adapt logic of binaries_url field (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzzer91 authored Dec 8, 2022
1 parent f9c5b73 commit 7c4c70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ config="$2"
command="$3"
binaries_url="$4"

if [ -n "$binaries_url" ]; then
if [ -z "$binaries_url" ]; then
if [ "$version" = "latest" ]; then
version=$(curl -Ls https://dl.k8s.io/release/stable.txt)
fi
Expand Down

0 comments on commit 7c4c70d

Please sign in to comment.