From e5ef3a26b47ac111463959121aed3687ee7e0179 Mon Sep 17 00:00:00 2001 From: Povilas Versockas Date: Tue, 8 Oct 2024 11:22:05 +0300 Subject: [PATCH] feat: [TKC-2581] do not merge --- cmd/api-server/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/api-server/main.go b/cmd/api-server/main.go index 8fa37a246d..dd37141895 100644 --- a/cmd/api-server/main.go +++ b/cmd/api-server/main.go @@ -277,7 +277,8 @@ func main() { testResultsRepository = cloudtestresult.NewCloudRepository(grpcClient, grpcConn, cfg.TestkubeProAPIKey) configRepository = cloudconfig.NewCloudResultRepository(grpcClient, grpcConn, cfg.TestkubeProAPIKey) - if cfg.WorkflowStorage == "control-plane" { + // TODO: + if cfg.WorkflowStorage == "crd" { testWorkflowsClient = cloudtestworkflow.NewCloudTestWorkflowRepository(grpcClient, grpcConn, cfg.TestkubeProAPIKey) testWorkflowTemplatesClient = cloudtestworkflow.NewCloudTestWorkflowTemplateRepository(grpcClient, grpcConn, cfg.TestkubeProAPIKey) }