[google/syzkaller] 65e5c2: pkg/gce: extract localZone()

0 views
Skip to first unread message

Alexander Potapenko

unread,
Mar 16, 2026, 7:18:48 AM (5 days ago) Mar 16
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-6939-0a4477725e98dba1b11d2a5075640616cc1401e4
Home: https://github.com/google/syzkaller
Commit: 65e5c2cca36a1f1d821ff7ad09c1e19f98e0c523
https://github.com/google/syzkaller/commit/65e5c2cca36a1f1d821ff7ad09c1e19f98e0c523
Author: Alexander Potapenko <gli...@google.com>
Date: 2026-03-16 (Mon, 16 Mar 2026)

Changed paths:
M pkg/gce/gce.go
M pkg/gce/gce_test.go

Log Message:
-----------
pkg/gce: extract localZone()

Factor out the logic that obtains the zone ID of the current machine.
Unconditionally pass it to ctx.computeService.Instances.Get(), as it
used to be before #6928.

To aid testing, also make it possible to inject the metadata URL into
getMeta().



To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Alexander Potapenko

unread,
Mar 16, 2026, 7:31:41 AM (5 days ago) Mar 16
to syzk...@googlegroups.com
Branch: refs/heads/master
Reply all
Reply to author
Forward
0 new messages