From da10155c6a1ce2161e1ca0b50af0881c6eabc0ca Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Wed, 11 Sep 2024 16:32:34 +0300 Subject: [PATCH] fix shell warning --- lib/cleanup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cleanup.sh b/lib/cleanup.sh index 252f496a..4af48ec4 100644 --- a/lib/cleanup.sh +++ b/lib/cleanup.sh @@ -53,9 +53,8 @@ cleanup_actors() { # Process each actor type echo "$actors_json" | jq -c '.[]' | while IFS= read -r actor; do - local type creds + local type type=$(echo "$actor" | jq -r '.type') - creds=$(echo "$actor" | jq -r '.creds') case "$type" in azure)