Commit 5316a114 authored by douomo's avatar douomo
Browse files

Fixed Typo

parent 69717d1d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ def check_hardware_inventory(xml_reply):
        name = comp.findall(".//ns0:name", namespaces={"ns0" :"urn:ietf:params:xml:ns:yang:ietf-hardware"})
        if len(name)==0:
            print("name not found")
            return "compoent name not found"
            return "Component name not found"
        
        cls = comp.findall(".//ns0:class", namespaces={"ns0" :"urn:ietf:params:xml:ns:yang:ietf-hardware"})
        if len(cls)==0:
            return "component class not found"
            return "Component class not found"
        
        hw_rev = comp.findall(".//ns0:hardware-rev", namespaces={"ns0" :"urn:ietf:params:xml:ns:yang:ietf-hardware"})
        if len(hw_rev)>0: