@@ -13,7 +13,7 @@ import (
1313 "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed"
1414
1515 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 "
1717 "github.com/crossplane/function-sdk-go/request"
1818 "github.com/crossplane/function-sdk-go/resource"
1919 "github.com/crossplane/function-sdk-go/resource/composed"
@@ -24,13 +24,13 @@ import (
2424
2525// Function performs patch-and-transform style Composition.
2626type Function struct {
27- fnv1beta1 .UnimplementedFunctionRunnerServiceServer
27+ fnv1 .UnimplementedFunctionRunnerServiceServer
2828
2929 log logging.Logger
3030}
3131
3232// 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.
3434 // This loop is fairly complex, but more readable with less abstraction.
3535
3636 log := f .log .WithValues ("tag" , req .GetMeta ().GetTag ())
@@ -274,7 +274,7 @@ func (f *Function) RunFunction(ctx context.Context, req *fnv1beta1.RunFunctionRe
274274 }
275275
276276 if skipped > 0 {
277- rsp .GetDesired ().GetComposite ().Ready = fnv1beta1 .Ready_READY_FALSE
277+ rsp .GetDesired ().GetComposite ().Ready = fnv1 .Ready_READY_FALSE
278278 }
279279
280280 if err := response .SetDesiredComposedResources (rsp , desired ); err != nil {
0 commit comments