From bd7a89af9fe4254286ff3dcd3d9614511685703e Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Fri, 19 Nov 2021 16:23:02 -0800 Subject: [PATCH] Satisfy linter --- pkg/codegen/schema/schema.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/codegen/schema/schema.go b/pkg/codegen/schema/schema.go index ad3081e30..32a0cd9d5 100644 --- a/pkg/codegen/schema/schema.go +++ b/pkg/codegen/schema/schema.go @@ -2253,10 +2253,11 @@ func bindDefaultValue(path string, value interface{}, spec *DefaultSpec, typ Typ return dv, diags } -// bindProperties binds the map of property specs and list of required properties into a sorted list of properties and -// a lookup table. -func (t *types) bindProperties(rootPath string, properties map[string]PropertySpec, requiredPath string, required []string, - inputShape bool) ([]*Property, map[string]*Property, hcl.Diagnostics, error) { +// bindProperties binds the map of property specs and list of required properties into a sorted list +// of properties and a lookup table. +func (t *types) bindProperties(rootPath string, properties map[string]PropertySpec, + requiredPath string, required []string, inputShape bool) ( + []*Property, map[string]*Property, hcl.Diagnostics, error) { var diags hcl.Diagnostics