xfstests-bld: remove redundant listing of GCE images
PATCH 1/1 xfstests-bld: remove redundant listing of GCE images
From: Eric Biggers <[email protected]>
When a GCE image is created, the same information about the new image was being printed by both 'gcloud compute images create' and 'gcloud compute images list'. Fix this by removing the call to 'gcloud compute images list'.
Signed-off-by Eric Biggers <[email protected]>
--- kvm-xfstests/test-appliance/gce-create-image | 1 - 1 file changed, 1 deletion(-)
kvm-xfstests/test-appliance/gce-create-image +0 -1
@@ -138,4 +138,3 @@ gcloud compute --project "$GCE_PROJECT" -q images create "$ROOT_FS-$DATECODE" \ --family "$ROOT_FS" gcloud compute --project "$GCE_PROJECT" -q disks delete "$BLD_DISK" \ --zone "$GCE_ZONE" >& /dev/null & -gcloud compute --project "$GCE_PROJECT" -q images list --filter="family=$ROOT_FS"
Signature · 1 line
2.8.0.rc3.226.g39d4020
Quoted 8 lines · Eric Biggers
From: Eric Biggers <[email protected]>
When a GCE image is created, the same information about the new image was being printed by both 'gcloud compute images create' and 'gcloud compute images list'. Fix this by removing the call to 'gcloud compute images list'.
Signed-off-by Eric Biggers <[email protected]>
This was deliberate; the goal was to remind the image maintainer to consider whether some of the older images should be GC'ed.
- Ted