From dbd4ebac86cd28969e05bc93e74991ed384fc70b Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Wed, 20 Mar 2024 14:32:22 +0800 Subject: [PATCH] fix: typo Signed-off-by: guoguangwu --- plugins/app-json/functions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/app-json/functions.go b/plugins/app-json/functions.go index 99527666d..0adaebfd5 100644 --- a/plugins/app-json/functions.go +++ b/plugins/app-json/functions.go @@ -344,11 +344,11 @@ func executeScript(appName string, image string, imageTag string, phase string) StreamStderr: true, }) if err != nil { - return fmt.Errorf("Commiting of '%s' to image failed: %w", phase, err) + return fmt.Errorf("Committing of '%s' to image failed: %w", phase, err) } if result.ExitCode != 0 { - return fmt.Errorf("Commiting of '%s' to image failed: %s", phase, command) + return fmt.Errorf("Committing of '%s' to image failed: %s", phase, command) } return nil