chore: fix some minor issues in the comments (#1767)

Signed-off-by: cloudclaim <824973921@qq.com>
This commit is contained in:
cloudclaim
2025-07-29 03:10:50 +08:00
committed by GitHub
parent bedecdb080
commit efe6b0e7b7
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ import (
k8serrors "k8s.io/apimachinery/pkg/api/errors"
)
// formatError wraps error with a detailed message that is meant for the user.
// FormatError wraps error with a detailed message that is meant for the user.
// While the errors are meant to be displayed, they are not meant to be exported as classes outsite of CLI.
func FormatError(err error) error {
var errorNew error