From 9e2b3a8bfe75098993a267fa837d5062bcabf7d1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 16 Dec 2019 18:25:07 +0100 Subject: [PATCH] Fixing regex --- lib/cr_tf/terraform/vm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cr_tf/terraform/vm.py b/lib/cr_tf/terraform/vm.py index 9b050f0..e8c3868 100644 --- a/lib/cr_tf/terraform/vm.py +++ b/lib/cr_tf/terraform/vm.py @@ -37,7 +37,7 @@ from .disk import TerraformDisk, TerraformDiskDict from .interface import TerraformInterface -__version__ = '1.5.1' +__version__ = '1.5.2' LOG = logging.getLogger(__name__) @@ -117,7 +117,7 @@ class TerraformVm(HandlingObject): re_key_env = re.compile(r'^\s*env(?:ironment)?\s*$', re.IGNORECASE) re_key_ns = re.compile(r'^\s*nameservers?\s*$', re.IGNORECASE) re_key_searchdomain = re.compile(r'^\s*search[_-]*domains?\s*$', re.IGNORECASE) - re_key_dnsoptions = re.compile(r'^\s*(dns|resolv)[_-]*options?*$', re.IGNORECASE) + re_key_dnsoptions = re.compile(r'^\s*(dns|resolv)[_-]*options?\s*$', re.IGNORECASE) re_key_root_disk = re.compile(r'^\s*root[_-]?disk\s*$', re.IGNORECASE) re_key_root_disk_size = re.compile(r'^\s*root[_-]?disk[_-]?size\s*$', re.IGNORECASE) re_key_data_disk = re.compile(r'^\s*data[_-]?disk\s*$', re.IGNORECASE) -- 2.39.5