mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-24 14:12:18 +00:00
clean Unreachable code
Signed-off-by: Abirdcfly <fp544037857@gmail.com> Kubernetes-commit: f71718d6448418d0289b9649905a16bfb1962b68
This commit is contained in:
parent
fe12e65afd
commit
65b1e7d3c0
@ -491,8 +491,7 @@ func (c *dynamicResourceClient) Apply(ctx context.Context, name string, obj *uns
|
||||
if err := c.client.scheme.Convert(uncastRet, ret, nil); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, err
|
||||
return nil, nil
|
||||
return ret, nil
|
||||
}
|
||||
|
||||
func (c *dynamicResourceClient) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options metav1.ApplyOptions) (*unstructured.Unstructured, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user