From c64e5c65415d51c6e6627c22f15f21670f162797 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 03:08:08 +0000 Subject: [PATCH] Bump golang from 1.22.6 to 1.23.0 (#846) --- Dockerfile | 4 ++-- pkg/fake_bess/fake_bess.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 }