1
0
mirror of https://github.com/rancher/types.git synced 2025-07-01 07:51:48 +00:00

Update vendor

This commit is contained in:
Darren Shepherd 2018-01-12 12:20:57 -07:00
parent 62ac6749a4
commit 87897aa616
2 changed files with 5 additions and 1 deletions

View File

@ -3,5 +3,5 @@ github.com/rancher/types
k8s.io/kubernetes v1.8.3 transitive=true,staging=true
bitbucket.org/ww/goautoneg a547fc61f48d567d5b4ec6f8aee5573d8efce11d https://github.com/rancher/goautoneg.git
github.com/rancher/norman 432219d44739826485fb6c9178e5db08a162a9c3
github.com/rancher/norman faf2f35bfeb8bd622f5d61bae4d1e8ecee46e827
golang.org/x/sync fd80eb99c8f653c847d294a001bdf2a3a6f768f5

View File

@ -7,6 +7,10 @@ func GuessPluralName(name string) string {
return name
}
if strings.EqualFold(name, "Endpoints") {
return name
}
if suffix(name, "s") || suffix(name, "ch") || suffix(name, "x") {
return name + "es"
}