1
0
mirror of https://github.com/rancher/types.git synced 2025-09-05 07:01:31 +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

@@ -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"
}