fix: " cuase unexpected TEXT but ' not

This commit is contained in:
Ljcbaby
2025-10-03 22:05:32 +08:00
committed by Yuhui Xu
parent 1097e69070
commit d312f7de1b

View File

@@ -19,13 +19,13 @@ import (
var primitiveMap = map[string]string{
"summary": "show protocols",
"detail": "show protocols all \'%s\'",
"route_from_protocol": "show route protocol \'%s\'",
"route_from_protocol_all": "show route protocol \'%s\' all",
"route_from_protocol_primary": "show route protocol \'%s\' primary",
"route_from_protocol_all_primary": "show route protocol \'%s\' all primary",
"route_filtered_from_protocol": "show route filtered protocol \'%s\'",
"route_filtered_from_protocol_all": "show route filtered protocol \'%s\' all",
"detail": "show protocols all '%s'",
"route_from_protocol": "show route protocol '%s'",
"route_from_protocol_all": "show route protocol '%s' all",
"route_from_protocol_primary": "show route protocol '%s' primary",
"route_from_protocol_all_primary": "show route protocol '%s' all primary",
"route_filtered_from_protocol": "show route filtered protocol '%s'",
"route_filtered_from_protocol_all": "show route filtered protocol '%s' all",
"route_from_origin": "show route where bgp_path.last = %s",
"route_from_origin_all": "show route where bgp_path.last = %s all",
"route_from_origin_primary": "show route where bgp_path.last = %s primary",