Skip to content

Commit

Permalink
Add missing comments for internal controller generation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmorie committed Apr 30, 2018
1 parent c5d2bba commit 4e6d726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/internal/codegen/parse/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ type controllerTags struct {
resource string
}

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

0 comments on commit 4e6d726

Please sign in to comment.