1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

refactor response model

This commit is contained in:
checktheroads
2020-01-21 17:30:14 -07:00
parent 252d2d4bb2
commit 9ca90cc2ae
6 changed files with 50 additions and 31 deletions

View File

@@ -37,7 +37,7 @@ class Construct:
if not _device_vrf:
raise HyperglassError(
message="Unable to match query VRF to any configured VRFs",
alert="danger",
level="danger",
keywords=[self.query_vrf],
)
return _device_vrf