Skip to content

Commit

Permalink
feat: [TKC-2595] do not merge
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Oct 23, 2024
1 parent b8265f8 commit a25ad27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/api-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ func main() {
serviceAccountNames = schedulertcl.GetServiceAccountNamesFromConfig(serviceAccountNames, cfg.TestkubeExecutionNamespaces)
}

if mode == common.ModeAgent && cfg.WorkflowStorage == "control-plane" {
// TODO:
if mode == common.ModeAgent && cfg.WorkflowStorage == "crd" {
testWorkflowsClient = cloudtestworkflow.NewCloudTestWorkflowRepository(grpcClient, grpcConn, cfg.TestkubeProAPIKey)
testWorkflowTemplatesClient = cloudtestworkflow.NewCloudTestWorkflowTemplateRepository(grpcClient, grpcConn, cfg.TestkubeProAPIKey)
} else {
Expand Down

0 comments on commit a25ad27

Please sign in to comment.