Skip to content

Commit

Permalink
Return partial list of APIResources
Browse files Browse the repository at this point in the history
  • Loading branch information
yalosev committed Nov 3, 2023
1 parent 2da7ffb commit 63a3d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (c *Client) APIResourceList(apiVersion string) (lists []*metav1.APIResource
return c.apiResourceList(apiVersion)
}

return nil, err
return lists, err
}

return lists, nil
Expand Down

0 comments on commit 63a3d5b

Please sign in to comment.