Skip to content

Commit 2b1b8db

Browse files
m-strzelczykdandhlee
authored andcommitted
docs(samples): Renaming region to avoid name collision with different region. (#167)
1 parent e79a3fb commit 2b1b8db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compute/compute/snippets/sample_images.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
from typing import Iterable
1616

1717
# [START compute_images_get]
18-
# [START compute_images_list]
18+
# [START compute_images_get_list]
1919
from google.cloud import compute_v1
2020

21-
# [END compute_images_list]
21+
# [END compute_images_get_list]
2222
# [END compute_images_get]
2323

2424

25-
# [START compute_images_list]
25+
# [START compute_images_get_list]
2626
def list_images(project_id: str) -> Iterable[compute_v1.Image]:
2727
"""
2828
Retrieve a list of images available in given project.
@@ -37,7 +37,7 @@ def list_images(project_id: str) -> Iterable[compute_v1.Image]:
3737
return image_client.list(project=project_id)
3838

3939

40-
# [END compute_images_list]
40+
# [END compute_images_get_list]
4141

4242

4343
# [START compute_images_get]

0 commit comments

Comments
 (0)