mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-16 14:26:42 +00:00
Merge pull request #111228 from Abirdcfly/220716
clean unreachable code Kubernetes-commit: 4e5711829c1c8bfadbb7632b28def5ba08325132
This commit is contained in:
commit
c2d2c47718
@ -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