mirror of https://github.com/k3s-io/k3s
Merge pull request #77082 from krzysied/resource_list_fix
Removing quotation marks from list-resources.shk3s-v1.15.3
commit
b7fd7c6464
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue