From 34a2d693ee0848e0566eb1212f71588f1d3ecf98 Mon Sep 17 00:00:00 2001 From: nithyatsu Date: Fri, 15 Sep 2023 14:35:23 -0700 Subject: [PATCH] nit --- .../backend/controller/createorupdateresource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/portableresources/backend/controller/createorupdateresource.go b/pkg/portableresources/backend/controller/createorupdateresource.go index d68b46169ba..4d4de3cb879 100644 --- a/pkg/portableresources/backend/controller/createorupdateresource.go +++ b/pkg/portableresources/backend/controller/createorupdateresource.go @@ -84,7 +84,7 @@ func (c *CreateOrUpdateResource[P, T]) Run(ctx context.Context, req *ctrl.Reques if err != nil { if recipeError, ok := err.(*recipes.RecipeError); ok { logger := ucplog.FromContextOrDiscard(ctx) - logger.Error(err, fmt.Sprintf("failed to execute recipe. Encounted error while processing %s ", recipeError.ErrorDetails.Target)) + logger.Error(err, fmt.Sprintf("failed to execute recipe. Encountered error while processing %s ", recipeError.ErrorDetails.Target)) // Set the deployment status to the recipe error code. recipeDataModel.Recipe().DeploymentStatus = util.RecipeDeploymentStatus(recipeError.DeploymentStatus) update := &store.Object{