mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Remove unneeded edit in error formatting
This commit is contained in:
parent
b1980b2f6b
commit
e4c25afa59
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user