From 4411a3f3be8c1664819d2a899d831eb42a0f85b6 Mon Sep 17 00:00:00 2001 From: Omer Aplatony Date: Thu, 19 Dec 2024 09:48:55 +0200 Subject: [PATCH] lint Signed-off-by: Omer Aplatony --- .../pkg/apiserver/customresource_discovery_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go index 51b7ac4627e..1e8ffbc69ca 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go @@ -320,7 +320,7 @@ func (c *DiscoveryController) Run(stopCh <-chan struct{}, synchedCh chan<- struc utilruntime.HandleError(fmt.Errorf("timed out waiting for initial discovery sync")) return } - utilruntime.HandleError(fmt.Errorf("unexpected error: %v", err)) + utilruntime.HandleError(fmt.Errorf("unexpected error: %w", err)) return } close(synchedCh)