From f492fffffeacd900b8c584e6561268038e626194 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 18:50:27 +0000 Subject: [PATCH] Bump golang from 1.22.6-bookworm to 1.23.0-bookworm (#100) --- Dockerfile | 2 +- internal/pfcpctl/commands/services.go | 4 ++-- internal/pfcpctl/commands/sessions.go | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index afb5fb6..e8e9de8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # Copyright 2024-present Intel Corporation # Stage pfcpsim-build: builds the pfcpsim docker image -FROM golang:1.22.6-bookworm AS builder +FROM golang:1.23.0-bookworm AS builder WORKDIR /pfcpctl COPY . . diff --git a/internal/pfcpctl/commands/services.go b/internal/pfcpctl/commands/services.go index 1c34eff..a9bc3cd 100644 --- a/internal/pfcpctl/commands/services.go +++ b/internal/pfcpctl/commands/services.go @@ -61,7 +61,7 @@ func (c *associate) Execute(args []string) error { log.Fatalf("Error while associating: %v", err) } - log.Infof(res.Message) + log.Infof("%s", res.Message) return nil } @@ -76,7 +76,7 @@ func (c *disassociate) Execute(args []string) error { log.Fatalf("Error while disassociating: %v", err) } - log.Infof(res.Message) + log.Infof("%s", res.Message) return nil } diff --git a/internal/pfcpctl/commands/sessions.go b/internal/pfcpctl/commands/sessions.go index 4696a64..8b302ca 100644 --- a/internal/pfcpctl/commands/sessions.go +++ b/internal/pfcpctl/commands/sessions.go @@ -91,7 +91,7 @@ func (s *sessionCreate) Execute(args []string) error { log.Fatalf("Error while creating sessions: %v", err) } - log.Infof(res.Message) + log.Infof("%s", res.Message) return nil } @@ -116,7 +116,7 @@ func (s *sessionModify) Execute(args []string) error { log.Fatalf("Error while modifying sessions: %v", err) } - log.Infof(res.Message) + log.Infof("%s", res.Message) return nil } @@ -136,7 +136,7 @@ func (s *sessionDelete) Execute(args []string) error { log.Fatalf("Error while deleting sessions: %v", err) } - log.Infof(res.Message) + log.Infof("%s", res.Message) return nil }