Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Dec 1, 2022
1 parent 400b431 commit f8f81a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/tfgen/generate.go
Expand Up @@ -1124,7 +1124,8 @@ func (g *Generator) gatherResource(rawname string,
}

// Make a state variable. This is always optional and simply lets callers perform lookups.
stateVar := g.propertyVariable(resourcePath.State(), key, propschema, propinfo, doc, rawdoc, false /*out*/, entityDocs)
stateVar := g.propertyVariable(resourcePath.State(), key, propschema, propinfo,
doc, rawdoc, false /*out*/, entityDocs)
stateVar.opt = true
stateVars = append(stateVars, stateVar)
}
Expand Down

0 comments on commit f8f81a5

Please sign in to comment.