@@ -13,7 +13,7 @@ import (
13
13
"github.com/crossplane/crossplane-runtime/pkg/reconciler/managed"
14
14
15
15
fncontext "github.com/crossplane/function-sdk-go/context"
16
- fnv1beta1 "github.com/crossplane/function-sdk-go/proto/v1beta1 "
16
+ fnv1 "github.com/crossplane/function-sdk-go/proto/v1 "
17
17
"github.com/crossplane/function-sdk-go/request"
18
18
"github.com/crossplane/function-sdk-go/resource"
19
19
"github.com/crossplane/function-sdk-go/resource/composed"
@@ -24,13 +24,13 @@ import (
24
24
25
25
// Function performs patch-and-transform style Composition.
26
26
type Function struct {
27
- fnv1beta1 .UnimplementedFunctionRunnerServiceServer
27
+ fnv1 .UnimplementedFunctionRunnerServiceServer
28
28
29
29
log logging.Logger
30
30
}
31
31
32
32
// RunFunction runs the Function.
33
- func (f * Function ) RunFunction (ctx context.Context , req * fnv1beta1 .RunFunctionRequest ) (* fnv1beta1 .RunFunctionResponse , error ) { //nolint:gocyclo // See below.
33
+ func (f * Function ) RunFunction (ctx context.Context , req * fnv1 .RunFunctionRequest ) (* fnv1 .RunFunctionResponse , error ) { //nolint:gocyclo // See below.
34
34
// This loop is fairly complex, but more readable with less abstraction.
35
35
36
36
log := f .log .WithValues ("tag" , req .GetMeta ().GetTag ())
@@ -274,7 +274,7 @@ func (f *Function) RunFunction(ctx context.Context, req *fnv1beta1.RunFunctionRe
274
274
}
275
275
276
276
if skipped > 0 {
277
- rsp .GetDesired ().GetComposite ().Ready = fnv1beta1 .Ready_READY_FALSE
277
+ rsp .GetDesired ().GetComposite ().Ready = fnv1 .Ready_READY_FALSE
278
278
}
279
279
280
280
if err := response .SetDesiredComposedResources (rsp , desired ); err != nil {
0 commit comments