Skip to content

Commit

Permalink
fix: Delete commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiupopa07 committed Mar 8, 2024
1 parent 4135c28 commit 2245c3f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions pipelines.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,25 +123,8 @@ func fetchDependentPipelines(pipelines []map[string]interface{}, err error, auth
pipelineId, okId := s["pipeline"].(string)

if okType && stageType == "pipeline" && okId {
// Operations on the filtered stage
fmt.Printf("Updated stage with pipeline ID %s\n", pipelineId)
//var dependentPipeline map[string]interface{}

pipelinesToRemove, err = addDependentPipelineRecursive(pipelines, s, pipelineId, pipelinesToRemove, err, authMethod)

//dependentPipeline, err = findPipelineById(authMethod, pipelineId)
//if err != nil {
// return nil, err
//}
//s["dependentPipeline"] = dependentPipeline
//index, _, _ := findPipelineIndexForName(pipelines, dependentPipeline["name"].(string))
//
//if index != -1 {
// pipelinesToRemove = append(pipelinesToRemove, index)
//}

fmt.Printf("Updated stage with pipeline ID %s\n", pipelineId)
// Additional operations using pipelineId can be performed here
}
}
}
Expand Down

0 comments on commit 2245c3f

Please sign in to comment.