mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
closes #58 - fix custom command validation
This commit is contained in:
@@ -134,7 +134,7 @@ class Construct:
|
||||
self.query_data.query_type,
|
||||
)
|
||||
else:
|
||||
cmd_paths = (self.device.nos, afi.protocol, self.query_data.query_type)
|
||||
cmd_paths = (self.device.commands, afi.protocol, self.query_data.query_type)
|
||||
|
||||
command = attrgetter(".".join(cmd_paths))(commands)
|
||||
return command.format(
|
||||
|
Reference in New Issue
Block a user