From e69ff86a84f6eb4996e9f531a85b7ad0105e98b3 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 d68b46169b..4d4de3cb87 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{