Skip to content

Commit

Permalink
Merge branch 'main' into konrad_natural_lang
Browse files Browse the repository at this point in the history
  • Loading branch information
konradjniemiec committed Jan 16, 2024
2 parents 404b73e + 63653ea commit a702843
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/lekko/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ var StaticConfig = map[string]map[string][]byte{
{{range $.ProtoAsByteStrings}}{{ . }}{{end}} },
}
{{range $.CodeStrings}}
{{ . }}
{{end}}`
{{ . }}{{end}}`

// buf generate --template '{"version":"v1","plugins":[{"plugin":"go","out":"gen/go"}]}'
//
Expand Down Expand Up @@ -296,7 +295,6 @@ func (c *SafeLekkoClient) {{$.FuncName}}(ctx context.Context, result interface{}
case featurev1beta1.FeatureType_FEATURE_TYPE_PROTO:
templateBody = protoTemplateBody
getFunction = "GetProto"
//templateBody = protoTemplateBody
// we don't need the import path so sending in empty string
protoType = unpackProtoType("", f.Tree.Default.TypeUrl)
// creates configv1beta1.DBConfig
Expand Down

0 comments on commit a702843

Please sign in to comment.