Merge pull request #77082 from krzysied/resource_list_fix
Removing quotation marks from list-resources.sh
This commit is contained in:
@@ -49,7 +49,7 @@ function gcloud-list() {
|
|||||||
local attempt=1
|
local attempt=1
|
||||||
local result=""
|
local result=""
|
||||||
while true; do
|
while true; do
|
||||||
if result=$(gcloud "${group}" "${resource}" list --project="${PROJECT}" "${filter:+--filter="$filter"}" "${@:4}"); then
|
if result=$(gcloud "${group}" "${resource}" list --project="${PROJECT}" ${filter:+--filter="$filter"} "${@:4}"); then
|
||||||
if [[ -n "${GREP_REGEX:-}" ]]; then
|
if [[ -n "${GREP_REGEX:-}" ]]; then
|
||||||
result=$(echo "${result}" | grep "${GREP_REGEX}" || true)
|
result=$(echo "${result}" | grep "${GREP_REGEX}" || true)
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user