From c94bcabd7e21221387c2a2590afd5f65ab7de06d Mon Sep 17 00:00:00 2001 From: codetalks Date: Sun, 12 Mar 2023 12:06:33 +0800 Subject: [PATCH] [fix][typing] startResourceClaimController errrorf message has typos --- cmd/kube-controller-manager/app/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kube-controller-manager/app/core.go b/cmd/kube-controller-manager/app/core.go index b9129a6af21..4f9c93fe66b 100644 --- a/cmd/kube-controller-manager/app/core.go +++ b/cmd/kube-controller-manager/app/core.go @@ -374,7 +374,7 @@ func startResourceClaimController(ctx context.Context, controllerContext Control controllerContext.InformerFactory.Resource().V1alpha1().ResourceClaims(), controllerContext.InformerFactory.Resource().V1alpha1().ResourceClaimTemplates()) if err != nil { - return nil, true, fmt.Errorf("failed to start ephemeral volume controller: %v", err) + return nil, true, fmt.Errorf("failed to start resource claim controller: %v", err) } go ephemeralController.Run(ctx, defaultResourceClaimControllerWorkers) return nil, true, nil