Skip to content

Commit c3be1a4

Browse files
committed
Bugfix: type annotation blunder
Signed-off-by: Matthias Büchse <[email protected]>
1 parent 187f26c commit c3be1a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/iaas/volume-backup/volume-backup-tester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131

3232
def check_resources(
33-
get_func: typing.Callable[[], [openstack.resource.Resource]],
33+
get_func: typing.Callable[[], list[openstack.resource.Resource]],
3434
prefix: str,
3535
) -> None:
3636
remaining = [b for b in get_func() if b.name.startswith(prefix)]
@@ -85,7 +85,7 @@ def wait_for_resource(
8585

8686

8787
def wait_for_resources(
88-
get_func: typing.Callable[[], [openstack.resource.Resource]],
88+
get_func: typing.Callable[[], list[openstack.resource.Resource]],
8989
prefix: str,
9090
):
9191
retry(partial(check_resources, get_func, prefix))

0 commit comments

Comments
 (0)