We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a822c79 commit 1576b0cCopy full SHA for 1576b0c
src/cisco_gnmi/xe.py
@@ -92,6 +92,7 @@ def xpath_to_path_elem(self, request):
92
return paths
93
else:
94
namespace_modules = {}
95
+ origin = None
96
for prefix, nspace in request.get('namespace', {}).items():
97
module = ''
98
if '/Cisco-IOS-' in nspace:
@@ -106,7 +107,7 @@ def xpath_to_path_elem(self, request):
106
107
namespace_modules[prefix] = module
108
for node in request.get('nodes', []):
109
if 'xpath' not in node:
- log.error('Xpath is not in message')
110
+ logger.error('Xpath is not in message')
111
112
xpath = node['xpath']
113
value = node.get('value', '')
0 commit comments