diff --git a/Dockerfile b/Dockerfile index 2832f3fb1..3baa51bf0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -102,7 +102,7 @@ WORKDIR /opt/bess/bessctl ENTRYPOINT ["bessd", "-f"] # Stage build bess golang pb -FROM golang:1.22.6 AS protoc-gen +FROM golang:1.23.0 AS protoc-gen RUN go install github.com/golang/protobuf/protoc-gen-go@latest FROM bess-build AS go-pb @@ -120,7 +120,7 @@ RUN mkdir /bess_pb && \ --python_out=plugins=grpc:/bess_pb \ --grpc_python_out=/bess_pb -FROM golang:1.22.6 AS pfcpiface-build +FROM golang:1.23.0 AS pfcpiface-build ARG GOFLAGS WORKDIR /pfcpiface diff --git a/pkg/fake_bess/fake_bess.go b/pkg/fake_bess/fake_bess.go index 0e6e74ad6..821d83fd4 100644 --- a/pkg/fake_bess/fake_bess.go +++ b/pkg/fake_bess/fake_bess.go @@ -4,7 +4,6 @@ package fake_bess import ( - "fmt" "net" "github.com/omec-project/upf-epc/pfcpiface/bess_pb" @@ -26,7 +25,7 @@ func NewFakeBESS() *FakeBESS { // Run starts and runs the BESS gRPC server on the given address. Blocking until Stop is called. func (b *FakeBESS) Run(address string) error { - listener, err := net.Listen("tcp", fmt.Sprintf(address)) + listener, err := net.Listen("tcp", address) if err != nil { return err }