Fixing copy paste issue (#41121)

pull/41126/head
Anil Kumar Muraleedharan 7 years ago committed by Trishna Guha
parent 9387c75e29
commit 1ccff0de1a

@ -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'):

Loading…
Cancel
Save