Skip to content

Commit 3526cdb

Browse files
committed
fix optional field
On-behalf-of: @SAP [email protected]
1 parent f673870 commit 3526cdb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

sdk/apis/syncagent/v1alpha1/published_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ type RelatedResourceObjectSpec struct {
204204
Reference *RelatedResourceObjectReference `json:"reference,omitempty"`
205205
// Template is a Go templated string that can make use of variables to
206206
// construct the resulting string.
207-
Template TemplateExpression `json:"template,omitempty"`
207+
Template *TemplateExpression `json:"template,omitempty"`
208208
}
209209

210210
// RelatedResourceObjectReference describes a path expression that is evaluated inside

sdk/apis/syncagent/v1alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)