From 68f87621aaf81439a7ee2d7f093d6d7943dde9f8 Mon Sep 17 00:00:00 2001 From: Allen Robel Date: Sat, 20 Apr 2024 14:01:40 -1000 Subject: [PATCH] FabricCommon()__init__(): initialize _payloads_to_commit for subclasses --- plugins/module_utils/fabric/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/module_utils/fabric/common.py b/plugins/module_utils/fabric/common.py index d70a25f00..3fef66ee5 100644 --- a/plugins/module_utils/fabric/common.py +++ b/plugins/module_utils/fabric/common.py @@ -17,7 +17,6 @@ __metaclass__ = type __author__ = "Allen Robel" -import copy import inspect import logging import re @@ -64,6 +63,8 @@ def __init__(self, params): msg += f"state: {self.state}" self.log.debug(msg) + self._payloads_to_commit: list = [] + self._valid_fabric_types = {"VXLAN_EVPN"} self.fabric_type_to_template_name_map = {}