Skip to content

Commit

Permalink
fix(evpn-bridge): moving from uint16 to int16
Browse files Browse the repository at this point in the history
Signed-off-by: atulpatel261194 <Atul.Patel@intel.com>
  • Loading branch information
atulpatel261194 authored and sandersms committed Apr 25, 2024
1 parent d3b20f2 commit 6b422c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/LinuxCIModule/lci.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func setUpBp(bp *infradb.BridgePort) bool {
log.Printf("LVM : VlanID %v value passed in Logical Bridge create is greater than 16 bit value\n", BrObj.Spec.VlanID)
return false
}
//TODO: Update opi-api to change vlanid to uint16 in LogiclaBridge
//TODO: Update opi-api to change vlanid to int16 in LogiclaBridge "https://linter.aip.dev/141/forbidden-types"
vid := uint16(BrObj.Spec.VlanID)
switch bp.Spec.Ptype {
case infradb.Access:
Expand Down

0 comments on commit 6b422c4

Please sign in to comment.