From 953c37d7ab28539cd7db40aa35defe851e3d41c9 Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Wed, 18 Jun 2025 16:49:17 +0300 Subject: [PATCH] Remove extra brackets --- tests/integration/ha_tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/ha_tests/helpers.py b/tests/integration/ha_tests/helpers.py index c0ca95c6b5..7191dd2ef3 100644 --- a/tests/integration/ha_tests/helpers.py +++ b/tests/integration/ha_tests/helpers.py @@ -1064,7 +1064,7 @@ async def get_detached_storages(ops_test: OpsTest) -> list[str]: detached_storages = [] for storage_name, storage in parsed_storages_list["storage"].items(): if ( - (storage_name.startswith("data")) + storage_name.startswith("data") and (str(storage["status"]["current"]) == "detached") and (str(storage["life"] == "alive")) ):