Skip to content

Commit

Permalink
Bump golang from 1.22.6 to 1.23.0 (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 20, 2024
1 parent e547eca commit c64e5c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
3 changes: 1 addition & 2 deletions pkg/fake_bess/fake_bess.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package fake_bess

import (
"fmt"
"net"

"github.com/omec-project/upf-epc/pfcpiface/bess_pb"
Expand All @@ -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
}
Expand Down

0 comments on commit c64e5c6

Please sign in to comment.