From 3ec5a50cb11ae4110103a32e618730a218ea3fb1 Mon Sep 17 00:00:00 2001 From: Simon Dodsley Date: Wed, 21 Jan 2026 11:59:02 -0500 Subject: [PATCH] Fix typo in status_code check --- plugins/modules/purefa_default_protection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/purefa_default_protection.py b/plugins/modules/purefa_default_protection.py index 90f61549..3068b6a0 100644 --- a/plugins/modules/purefa_default_protection.py +++ b/plugins/modules/purefa_default_protection.py @@ -143,7 +143,7 @@ def _get_pg(module, array, pod): ) else: res = array.get_protection_groups(names=[pod]) - if res.staus_code == 200: + if res.status_code == 200: return list(res.items)[0] return None