Skip to content

Commit 3b7b8e3

Browse files
committed
fix: kubelet command constructor
1 parent e05d44c commit 3b7b8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubectl-node_shell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ while [ $# -gt 0 ]; do
7474
shift
7575
done
7676
if [ "$custom" = true ]; then
77-
cmd="$(echo "$cmd" | awk '{sub(/..$/,"",$0); print $0}') ]"
77+
cmd="$(echo "$cmd" | awk '1' RS=', \n') ]"
7878
else
7979
cmd="$cmd\"bash\", \"-l\" ]"
8080
fi

0 commit comments

Comments
 (0)