Skip to content

Commit

Permalink
fix golint directive
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Roytman <[email protected]>
  • Loading branch information
roytman committed Aug 11, 2022
1 parent f5fcd1f commit 68f115c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/schemas/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func mapToSchema(ctx *schemaContext, mapType *ast.MapType) *apiext.JSONSchemaPro

// structToSchema creates a schema for the given struct. Embedded fields are placed in AllOf,
// and can be flattened later with a Flattener.
// nolint:gocyclo
//nolint:gocyclo
func structToSchema(ctx *schemaContext, structType *ast.StructType) *apiext.JSONSchemaProps {
props := &apiext.JSONSchemaProps{
Type: "object",
Expand Down

0 comments on commit 68f115c

Please sign in to comment.