Skip to content

Commit

Permalink
remove unused function (#11719)
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <[email protected]>
  • Loading branch information
HumairAK authored Mar 1, 2025
1 parent 30210e3 commit 89c8bd7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions backend/src/v2/compiler/argocompiler/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,14 +488,6 @@ func (c *workflowCompiler) addContainerExecutorTemplate(name string, refName str
return nameContainerExecutor
}

func (c *workflowCompiler) findTaskSpecByName(name string) *pipelinespec.PipelineTaskSpec {
if c.spec == nil || c.spec.Root == nil || c.spec.Root.GetDag() == nil {
return nil
}
rootDag := c.spec.Root.GetDag()
return rootDag.Tasks[name]
}

func (c *workflowCompiler) getTaskRetryPolicySpec(name string) *pipelinespec.PipelineTaskSpec_RetryPolicy {
if c.spec == nil || c.spec.Root == nil || c.spec.Root.GetDag() == nil {
return nil
Expand Down

0 comments on commit 89c8bd7

Please sign in to comment.