From b98980513149e322ca6fb981817c16dde7e2adb7 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Tue, 16 Jan 2018 18:10:29 -0700 Subject: [PATCH] Fix generator for new access control --- generator/generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/generator.go b/generator/generator.go index 6e3a5238b..412225135 100644 --- a/generator/generator.go +++ b/generator/generator.go @@ -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") } }