Merge pull request #77082 from krzysied/resource_list_fix

Removing quotation marks from list-resources.sh
This commit is contained in:
Kubernetes Prow Robot
2019-04-26 04:32:27 -07:00
committed by GitHub

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