Merge pull request #77082 from krzysied/resource_list_fix

Removing quotation marks from list-resources.sh
k3s-v1.15.3
Kubernetes Prow Robot 2019-04-26 04:32:27 -07:00 committed by GitHub
commit b7fd7c6464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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