Skip to content

Commit

Permalink
chore(samples): Fixing test with deprecated OS image. (#217)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and dandhlee committed Nov 16, 2022
1 parent 2922eb8 commit e759ca2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def test_create_instance_from_template_override(
):
image_client = compute_v1.ImagesClient()

image = image_client.get_from_family(project="centos-cloud", family="centos-8")
image = image_client.get_from_family(
project="ubuntu-os-cloud", family="ubuntu-2004-lts"
)
instance = create_instance_from_template_with_overrides(
PROJECT,
INSTANCE_ZONE,
Expand Down

0 comments on commit e759ca2

Please sign in to comment.