Skip to content

Commit

Permalink
fix: fixed linter error
Browse files Browse the repository at this point in the history
Signed-off-by: Atul Patel <[email protected]>
  • Loading branch information
venkyvsp authored and atulpatel261194 committed Oct 1, 2024
1 parent e8efd4f commit a553e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/frr/frr.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func setUpVrf(vrf *infradb.Vrf) (string, bool) {
L2vpnCmd := strings.Split(cp, "json")
L2vpnCmd = strings.Split(L2vpnCmd[1], hname)
cp = L2vpnCmd[0]
if strings.Compare(cp,"\r\n{}\r\n{\r\n}\r\n" ) != 0 { // Checking CMD o/p
if strings.Compare(cp, "\r\n{}\r\n{\r\n}\r\n") != 0 { // Checking CMD o/p
cp = cp[3 : len(cp)-3]
} else {
log.Printf("FRR: unable to get the command %s\n", cmd)
Expand Down

0 comments on commit a553e28

Please sign in to comment.