mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-17 08:41:53 +00:00
remove dead code
Kubernetes-commit: 46d3fa052dc087efa39585d3a9d582ee49a697f5
This commit is contained in:
parent
8788745821
commit
88b5d2a76a
@ -395,15 +395,6 @@ func NewDiscoveryClient(c restclient.Interface) *DiscoveryClient {
|
|||||||
return &DiscoveryClient{restClient: c, LegacyPrefix: "/api"}
|
return &DiscoveryClient{restClient: c, LegacyPrefix: "/api"}
|
||||||
}
|
}
|
||||||
|
|
||||||
func stringDoesntExistIn(str string, slice []string) bool {
|
|
||||||
for _, s := range slice {
|
|
||||||
if s == str {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
// RESTClient returns a RESTClient that is used to communicate
|
// RESTClient returns a RESTClient that is used to communicate
|
||||||
// with API server by this client implementation.
|
// with API server by this client implementation.
|
||||||
func (c *DiscoveryClient) RESTClient() restclient.Interface {
|
func (c *DiscoveryClient) RESTClient() restclient.Interface {
|
||||||
|
Loading…
Reference in New Issue
Block a user