Skip to content

Commit 6d40ac8

Browse files
committed
chore: Fix shellcheck errors
1 parent d7c428f commit 6d40ac8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/truenas_ws.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ _ws_call() {
3939
_debug "_ws_call arg2" "$2"
4040
_debug "_ws_call arg3" "$3"
4141
if [ $# -eq 3 ]; then
42-
_ws_response=$(midclt --uri $_ws_uri -K "$DEPLOY_TRUENAS_APIKEY" call "$1" "$2" "$3")
42+
_ws_response=$(midclt --uri "$_ws_uri" -K "$DEPLOY_TRUENAS_APIKEY" call "$1" "$2" "$3")
4343
fi
4444
if [ $# -eq 2 ]; then
45-
_ws_response=$(midclt --uri $_ws_uri -K "$DEPLOY_TRUENAS_APIKEY" call "$1" "$2")
45+
_ws_response=$(midclt --uri "$_ws_uri" -K "$DEPLOY_TRUENAS_APIKEY" call "$1" "$2")
4646
fi
4747
if [ $# -eq 1 ]; then
48-
_ws_response=$(midclt --uri $_ws_uri -K "$DEPLOY_TRUENAS_APIKEY" call "$1")
48+
_ws_response=$(midclt --uri "$_ws_uri" -K "$DEPLOY_TRUENAS_APIKEY" call "$1")
4949
fi
5050
_debug "_ws_response" "$_ws_response"
5151
printf "%s" "$_ws_response"

0 commit comments

Comments
 (0)