diff --git a/components/datadog/operator/operator.go b/components/datadog/operator/operator.go index 76a309ff7..21a9b4c5a 100644 --- a/components/datadog/operator/operator.go +++ b/components/datadog/operator/operator.go @@ -10,8 +10,8 @@ import ( "github.com/DataDog/test-infra-definitions/components/datadog/operatorparams" ) -// OperatorOutput is used to import the Operator component -type OperatorOutput struct { +// Output is used to import the Operator component +type Output struct { components.JSONImporter Operator compkubernetes.KubernetesObjectRef `json:"operator"` } @@ -23,7 +23,7 @@ type Operator struct { Operator *compkubernetes.KubernetesObjectRef `json:"operator"` } -func (h *Operator) Export(ctx *pulumi.Context, out *OperatorOutput) error { +func (h *Operator) Export(ctx *pulumi.Context, out *Output) error { return components.Export(ctx, h, out) }