Skip to content

Commit

Permalink
fix(evpn-bridge): go os and filename fix
Browse files Browse the repository at this point in the history
Signed-off-by: Atul Patel <Atul.Patel@intel.com>
  • Loading branch information
atulpatel261194 authored and sandersms committed Apr 25, 2024
1 parent a1c54a7 commit d3b20f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ MAKEFLAGS += --silent

GOARCH ?= $(shell go env GOARCH) # detect automatically the underlying arch

GOOS ?= $(shell go env GOOS) # detect automatically the underlying operating system

compile: get build

build:
@echo " > Building binaries..."
@CGO_ENABLED=0 GOARCH=$(GOARCH) go build -o ${PROJECTNAME} ./cmd/...
@CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o ${PROJECTNAME} ./cmd/...

get:
@echo " > Checking if there are any missing dependencies..."
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/infradb/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type LogicalBridge struct {
// build time check that struct implements interface
var _ EvpnObject[*pb.LogicalBridge] = (*LogicalBridge)(nil)

// NewLogicalBridge creates new Logica Bridge object from protobuf message
// NewLogicalBridge creates new Logical Bridge object from protobuf message
func NewLogicalBridge(in *pb.LogicalBridge) *LogicalBridge {
var vip *net.IPNet
components := make([]common.Component, 0)
Expand Down

0 comments on commit d3b20f2

Please sign in to comment.