Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c869b2 + 1759483 commit 587d164Copy full SHA for 587d164
cluster/gce/list-resources.sh
@@ -49,7 +49,7 @@ function gcloud-compute-list() {
49
while true; do
50
if result=$(gcloud compute ${resource} list --project=${PROJECT} ${@:2}); then
51
if [[ ! -z "${GREP_REGEX}" ]]; then
52
- result=$(echo "${result}" | grep "${GREP_REGEX}")
+ result=$(echo "${result}" | grep "${GREP_REGEX}" || true)
53
fi
54
echo "${result}"
55
return
0 commit comments