Skip to content

Commit d5dd7b1

Browse files
committed
chore: upgrade go toolchain
1 parent 2116b38 commit d5dd7b1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/jsiebens/ionscale
22

3-
go 1.23.6
3+
go 1.24.2
44

55
require (
66
github.com/99designs/keyring v1.2.2

internal/service/auth.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package service
22

33
import (
44
"context"
5+
"errors"
56
"fmt"
67
"github.com/bufbuild/connect-go"
78
"github.com/jsiebens/ionscale/internal/domain"
@@ -59,7 +60,7 @@ func (s *Service) Authenticate(ctx context.Context, req *connect.Request[api.Aut
5960
}
6061

6162
if len(m.Error) != 0 {
62-
return connect.NewError(connect.CodePermissionDenied, fmt.Errorf(m.Error))
63+
return connect.NewError(connect.CodePermissionDenied, errors.New(m.Error))
6364
}
6465

6566
if err := stream.Send(&api.AuthenticateResponse{AuthUrl: authUrl}); err != nil {

tests/docker/ionscale/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-bullseye as builder
1+
FROM golang:1.24-bullseye as builder
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)