Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain committed Jul 22, 2024
1 parent 0cf6be5 commit 20c2d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ func (k *kubernetesHelper) LinkForKubeType(t *types.Type) string {
if len(parts) < 2 {
zap.S().Fatalw("Unexpected Kubernetes package name", "type", t)
}
// TODO: if there're more alaises, we should export them to the config
group := strings.ToLower(parts[len(parts)-2])
// this is alias handling
if group == "apiextensions" {
group = "apiextensions-k8s-io"
}
Expand Down

0 comments on commit 20c2d39

Please sign in to comment.