Skip to content

Commit c556dcd

Browse files
committed
fix: rely on GroupVersionKind string representation
1 parent 7f666d3 commit c556dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/customresourcestate/registry_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func compileFamily(f Generator, resource Resource) (*compiledFamily, error) {
9191
errorLogV = resource.ErrorLogV
9292
}
9393

94-
help := fmt.Sprintf("%s for %s/%s/%s", f.Help, resource.GroupVersionKind.Group, resource.GroupVersionKind.Version, resource.GroupVersionKind.Kind)
94+
help := fmt.Sprintf("%s for %s", f.Help, resource.GroupVersionKind)
9595

9696
return &compiledFamily{
9797
Name: fullName(resource, f),

0 commit comments

Comments
 (0)