From 4d37e35f997afc95b4e82fa93e22d5584bc1a3ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 04:44:02 +0000 Subject: [PATCH 1/2] Bump golang from 1.22.6 to 1.23.0 Bumps golang from 1.22.6 to 1.23.0. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 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 From 04c38688e38b6736526aefe8c71361d1acfade57 Mon Sep 17 00:00:00 2001 From: "Arrobo, Gabriel" Date: Mon, 19 Aug 2024 19:50:17 -0700 Subject: [PATCH 2/2] Address linter issues Signed-off-by: Arrobo, Gabriel --- pkg/fake_bess/fake_bess.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }