Fix invalid codegen for compose/envoy/store_encode
Lapsus in component ident field caused too much logic to be removed from the generated code. This caused some _happy accidents_ when matching up to existing resources.
This commit is contained in:
@@ -352,7 +352,7 @@ func (e StoreEncoder) matchup{{.expIdent}}s(ctx context.Context, s store.Storer,
|
||||
var aux *types.{{.expIdent}}
|
||||
var ok bool
|
||||
for i, n := range nn {
|
||||
{{ if eq .componentIdent "compose" }}
|
||||
{{ if eq .component "compose" }}
|
||||
scope := scopes[i]
|
||||
if scope == nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user