Skip to content

Commit

Permalink
fix(platform): apply endpoints failed (#1622)
Browse files Browse the repository at this point in the history
Co-authored-by: xdonggao <xdonggao@tencent.com>
  • Loading branch information
GaoXiaodong and xdonggao committed Oct 9, 2021
1 parent df4d5ac commit 22040a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/platform/util/client.go
Expand Up @@ -112,6 +112,8 @@ func ResourceFromKind(kind string) string {
return "podsecuritypolicies"
case "priorityclass":
return "priorityclasses"
case "endpoints":
return "endpoints"
default:
return kindLower + "s"
}
Expand Down

0 comments on commit 22040a7

Please sign in to comment.