Skip to content

Commit

Permalink
Fix generator for new access control
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Jan 17, 2018
1 parent d1b13df commit 67264fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func generateScheme(external bool, outputDir string, version *types.APIVersion,
if !external {
names = append(names, schema.CodeName)
}
if schema.CanList() {
if schema.CanList(nil) {
names = append(names, schema.CodeName+"List")
}
}
Expand Down

0 comments on commit 67264fa

Please sign in to comment.