Skip to content

Commit c9a537c

Browse files
committed
fix 🐛 (colima): change name var for colima load (#43)
Signed-off-by: Luis Mayta <luis@hadenlabs.com>
1 parent 1fe37f3 commit c9a537c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/colima.zsh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ function container::internal::container::load {
2727
check_command jq || return 1
2828
check_command colima || return 1
2929

30-
local status
31-
if ! status=$(colima status --json 2>/dev/null | jq -r '.status'); then
30+
local colima_status
31+
if ! colima_status=$(colima status --json 2>/dev/null | jq -r '.status'); then
3232
echo "⚠️ Could not get Colima status. Starting Colima..."
3333
colima start
3434
return
3535
fi
3636

37-
if [[ "$status" != "Running" ]]; then
37+
if [[ "$colima_status" != "Running" ]]; then
3838
echo "🚀 Colima is not running. Starting Colima..."
3939
colima start
4040
fi

0 commit comments

Comments
 (0)