Skip to content

Commit e759ca2

Browse files
m-strzelczykgcf-owl-bot[bot]
authored andcommitted
chore(samples): Fixing test with deprecated OS image. (#217)
* chore(samples): Fixing test with deprecated OS image. * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2922eb8 commit e759ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compute/compute/snippets/test_sample_instance_from_template.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ def test_create_instance_from_template_override(
8585
):
8686
image_client = compute_v1.ImagesClient()
8787

88-
image = image_client.get_from_family(project="centos-cloud", family="centos-8")
88+
image = image_client.get_from_family(
89+
project="ubuntu-os-cloud", family="ubuntu-2004-lts"
90+
)
8991
instance = create_instance_from_template_with_overrides(
9092
PROJECT,
9193
INSTANCE_ZONE,

0 commit comments

Comments
 (0)