Skip to content

Commit 4e6d726

Browse files
committed
Add missing comments for internal controller generation
1 parent c5d2bba commit 4e6d726

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/internal/codegen/parse/controllers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ type controllerTags struct {
3232
resource string
3333
}
3434

35+
// parseControllers populates the list of controllers to generate code from the
36+
// list of annotated types.
3537
func (b *APIs) parseControllers() {
3638
for _, c := range b.context.Order {
3739
if IsController(c) {

0 commit comments

Comments
 (0)