From cb5d909c6e6cd5ceff3cc51aa2b9672b3774f199 Mon Sep 17 00:00:00 2001 From: Paul Nicolas Date: Wed, 25 Sep 2024 12:20:43 +0200 Subject: [PATCH] fix(temporal): do not use testing context --- temporal/client_module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporal/client_module.go b/temporal/client_module.go index d7c57600..560a11fe 100644 --- a/temporal/client_module.go +++ b/temporal/client_module.go @@ -79,7 +79,7 @@ func FXModuleFromFlags(cmd *cobra.Command, tracer trace.Tracer, searchAttributes } func createSearchAttributes(ctx context.Context, c client.Client, namespace string, searchAttributes map[string]enums.IndexedValueType) error { - _, err := c.OperatorService().AddSearchAttributes(logging.TestingContext(), &operatorservice.AddSearchAttributesRequest{ + _, err := c.OperatorService().AddSearchAttributes(ctx, &operatorservice.AddSearchAttributesRequest{ SearchAttributes: searchAttributes, Namespace: namespace, })