Skip to content

Commit

Permalink
Add updated type and format to props
Browse files Browse the repository at this point in the history
  • Loading branch information
kragniz committed Jun 1, 2018
1 parent 6abddb1 commit f9be8dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/internal/codegen/parse/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ func (b *APIs) parsePrimitiveValidation(t *types.Type, found sets.String, commen
if err := primitiveTemplate.Execute(buff, primitiveTemplateArgs{props, n, f, s}); err != nil {
log.Fatalf("%v", err)
}
props.Type = n
props.Format = f
return props, buff.String()
}

Expand Down

0 comments on commit f9be8dd

Please sign in to comment.