removing quotation marks

This commit is contained in:
Krzysztof Siedlecki 2019-04-25 17:47:30 +02:00
parent f043e49a93
commit 862662f49e

View File

@ -49,7 +49,7 @@ function gcloud-list() {
local attempt=1
local result=""
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
result=$(echo "${result}" | grep "${GREP_REGEX}" || true)
fi