mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 10:53:34 +00:00
vendor updates
This commit is contained in:
1
vendor/k8s.io/kubernetes/pkg/proxy/util/endpoints.go
generated
vendored
1
vendor/k8s.io/kubernetes/pkg/proxy/util/endpoints.go
generated
vendored
@ -47,6 +47,7 @@ func IPPart(s string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// PortPart returns just the port part of an endpoint string.
|
||||
func PortPart(s string) (int, error) {
|
||||
// Must be IP:port
|
||||
_, port, err := net.SplitHostPort(s)
|
||||
|
Reference in New Issue
Block a user