From e759ca2b4b41a7d5b3bb4263eb997b8ca034821b Mon Sep 17 00:00:00 2001 From: Maciej Strzelczyk Date: Thu, 10 Feb 2022 17:08:15 +0100 Subject: [PATCH] chore(samples): Fixing test with deprecated OS image. (#217) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .../compute/snippets/test_sample_instance_from_template.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compute/compute/snippets/test_sample_instance_from_template.py b/compute/compute/snippets/test_sample_instance_from_template.py index 6b17220fd3a7..20f1eb7cf5c4 100644 --- a/compute/compute/snippets/test_sample_instance_from_template.py +++ b/compute/compute/snippets/test_sample_instance_from_template.py @@ -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,