Skip to content

Commit 2a371c6

Browse files
Update module github.com/crossplane/crossplane-runtime to v2
1 parent 1c39e91 commit 2a371c6

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

fn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
"github.com/upbound/function-approve/input/v1beta1"
1111

12-
"github.com/crossplane/crossplane-runtime/pkg/errors"
13-
"github.com/crossplane/crossplane-runtime/pkg/logging"
12+
"github.com/crossplane/crossplane-runtime/v2/pkg/errors"
13+
"github.com/crossplane/crossplane-runtime/v2/pkg/logging"
1414
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
1515
"github.com/crossplane/function-sdk-go/request"
1616
"github.com/crossplane/function-sdk-go/resource"

fn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/crossplane/crossplane-runtime/pkg/logging"
8+
"github.com/crossplane/crossplane-runtime/v2/pkg/logging"
99
fnv1 "github.com/crossplane/function-sdk-go/proto/v1"
1010
"github.com/crossplane/function-sdk-go/resource"
1111
)

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ toolchain go1.24.5
66

77
require (
88
github.com/alecthomas/kong v1.12.1
9-
github.com/crossplane/crossplane-runtime v1.20.0
9+
github.com/crossplane/crossplane-runtime/v2 v2.0.0
1010
github.com/crossplane/function-sdk-go v0.4.0
1111
k8s.io/apimachinery v0.34.0
1212
sigs.k8s.io/controller-tools v0.19.0
1313
)
1414

1515
require (
1616
dario.cat/mergo v1.0.1 // indirect
17+
github.com/crossplane/crossplane-runtime v1.18.0 // indirect
1718
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
1819
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
1920
github.com/evanphx/json-patch/v5 v5.9.0 // indirect

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF
2828
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
2929
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
3030
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
31-
github.com/crossplane/crossplane-runtime v1.20.0 h1:I54uipRIecqZyms+vz1J/l62yjVQ7HV5w+Nh3RMrUtc=
32-
github.com/crossplane/crossplane-runtime v1.20.0/go.mod h1:lfV1VJenDc9PNVLxDC80YjPoTm+JdSZ13xlS2h37Dvg=
31+
github.com/crossplane/crossplane-runtime v1.18.0 h1:aAQIMNOgPbbXaqj9CUSv+gPl3QnVbn33YlzSe145//0=
32+
github.com/crossplane/crossplane-runtime v1.18.0/go.mod h1:p7nVVsLn0CWjsLvLCtr7T40ErbTgNWKRxmYnwFdfXb4=
33+
github.com/crossplane/crossplane-runtime/v2 v2.0.0 h1:PK2pTKfshdDZ5IfoiMRiCi0PBnIjqbS0KGXEJgRdrb4=
34+
github.com/crossplane/crossplane-runtime/v2 v2.0.0/go.mod h1:pkd5UzmE8esaZAApevMutR832GjJ1Qgc5Ngr78ByxrI=
3335
github.com/crossplane/function-sdk-go v0.4.0 h1:1jd+UIaZlVNQCUO4hLAgUqWBRnUKw2ObF9ZuMw5CpKk=
3436
github.com/crossplane/function-sdk-go v0.4.0/go.mod h1:jLnzUG8pt8tn/U6/uvtNStAhDjhIq4wCR31yECT54NM=
3537
github.com/crossplane/upjet v1.4.1-0.20240911184956-3afbb7796d46 h1:2IH1YPTBrNmBj0Z1OCjEBTrQCuRaLutZbWLaswFeCFQ=

0 commit comments

Comments
 (0)