From 1ccff0de1ac44ef3bc4e63b7deaa8678bd9f443b Mon Sep 17 00:00:00 2001 From: Anil Kumar Muraleedharan Date: Tue, 5 Jun 2018 14:31:50 +0530 Subject: [PATCH] Fixing copy paste issue (#41121) --- lib/ansible/modules/network/cnos/cnos_facts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/cnos/cnos_facts.py b/lib/ansible/modules/network/cnos/cnos_facts.py index 51be278043c..e450f1a2875 100644 --- a/lib/ansible/modules/network/cnos/cnos_facts.py +++ b/lib/ansible/modules/network/cnos/cnos_facts.py @@ -277,11 +277,11 @@ class Default(FactsBase): return "NA" def parse_image(self, data): - match = re.search(r'(.*) image1(.*)', data, re.M | re.I) + match = re.search(r'(.*) image(.*)', data, re.M | re.I) if match: return "Image1" else: - return "Image1" + return "Image2" def parse_serialnum(self, data): for line in data.split('\n'):