diff --git a/plugins/modules/purefa_info.py b/plugins/modules/purefa_info.py index 0256a0bb..86c62f0d 100644 --- a/plugins/modules/purefa_info.py +++ b/plugins/modules/purefa_info.py @@ -1713,7 +1713,9 @@ def generate_del_vol_dict(array): volume_info[volume] = { "protocol_endpoint": bool(vols[vol].subtype == "protocol_endpoint"), "protocol_endpoint_version": getattr( - vols[vol].protocol_endpoint, "container_version", None + getattr(vols[vol], "protocol_endpoint", None), + "container_version", + None, ), "size": vols[vol].provisioned, "source": getattr(vols[vol].source, "name", None),