Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
typo fix in terraformed template
Browse files Browse the repository at this point in the history
Signed-off-by: Muvaffak Onus <me@muvaf.com>
  • Loading branch information
muvaf committed Dec 2, 2021
1 parent a0f25d4 commit 15bbe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pipeline/templates/terraformed.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (tr *{{ .CRD.Kind }}) SetObservation(obs map[string]interface{}) error {
return json.TFParser.Unmarshal(p, &tr.Status.AtProvider)
}

// GetObservation of this {{ .CRD.Kind }}
// GetID returns ID of underlying Terraform resource of {{ .CRD.Kind }}
func (tr *{{ .CRD.Kind }}) GetID() string {
if tr.Status.AtProvider.ID == nil {
return ""
Expand Down

0 comments on commit 15bbe68

Please sign in to comment.