From 676da025d74e7f76c6776d516fbf23b93ee71ea2 Mon Sep 17 00:00:00 2001 From: Fanny Jiang Date: Thu, 21 Nov 2024 19:57:37 -0500 Subject: [PATCH] fix output name --- components/datadog/operator/operator.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) }