From a61698b6ea564ce2b796499504acc7efccd289e8 Mon Sep 17 00:00:00 2001 From: aliculPix4D Date: Wed, 23 Jul 2025 15:00:05 +0200 Subject: [PATCH] remove xray version check --- pkg/xray/provider.go | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkg/xray/provider.go b/pkg/xray/provider.go index 2659a5f5..76476c4c 100644 --- a/pkg/xray/provider.go +++ b/pkg/xray/provider.go @@ -157,22 +157,12 @@ func (p *XrayProvider) Configure(ctx context.Context, req provider.ConfigureRequ ) } - version, err := util.GetXrayVersion(restyClient) - if err != nil { - resp.Diagnostics.AddError( - "Error getting Xray version", - err.Error(), - ) - return - } - featureUsage := fmt.Sprintf("Terraform/%s", req.TerraformVersion) go util.SendUsage(ctx, restyClient.R(), productId, featureUsage) meta := util.ProviderMetadata{ - Client: restyClient, - ProductId: productId, - XrayVersion: version, + Client: restyClient, + ProductId: productId, } p.Meta = meta