From e4c25afa599f711b886012b5d3c17564a85a6e04 Mon Sep 17 00:00:00 2001 From: Mahmoud Atwa Date: Wed, 22 Feb 2023 13:51:01 +0000 Subject: [PATCH] Remove unneeded edit in error formatting --- test/e2e/framework/autoscaling/autoscaling_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/framework/autoscaling/autoscaling_utils.go b/test/e2e/framework/autoscaling/autoscaling_utils.go index 3f3a83d1534..1065f6b685a 100644 --- a/test/e2e/framework/autoscaling/autoscaling_utils.go +++ b/test/e2e/framework/autoscaling/autoscaling_utils.go @@ -1007,7 +1007,7 @@ func CreateCustomSubresourceInstance(ctx context.Context, namespace, name string } createdObjectMeta, err := meta.Accessor(instance) if err != nil { - return nil, fmt.Errorf("Error while creating object meta: %v", err) + return nil, fmt.Errorf("Error while creating object meta: %w", err) } if len(createdObjectMeta.GetUID()) == 0 { return nil, fmt.Errorf("Missing UUID: %v", instance)