diff --git a/pyeapi/api/mlag.py b/pyeapi/api/mlag.py index 6827615..6c523d8 100644 --- a/pyeapi/api/mlag.py +++ b/pyeapi/api/mlag.py @@ -116,7 +116,7 @@ def _parse_domain_id(self, config): dict: A dict object that is intended to be merged into the resource dict """ - match = re.search(r'domain-id (.+)', config) + match = re.search(r'domain-id (.+)$', config) value = match.group(1) if match else None return dict(domain_id=value)