Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
naftalysh committed Apr 18, 2024
1 parent c09d759 commit b6e6244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clients/has/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (h *HasController) GetComponentPipelineRun(componentName string, applicatio
}

// GetComponentPipeline returns the pipeline for a given component labels with pipeline type within label "pipelines.appstudio.openshift.io/type" ("build", "test")
func (h *HasController) GetComponentPipelineRunWithType(componentName string, applicationName string, namespace, pipelineType string, sha string) (*pipeline.PipelineRun, error) {
func (h *HasController) GetComponentPipelineRunWithType(componentName, applicationName, namespace, pipelineType, sha string) (*pipeline.PipelineRun, error) {
// pipelineRunLabels := map[string]string{"appstudio.openshift.io/component": componentName, "appstudio.openshift.io/application": applicationName}
pipelineRunLabels := map[string]string{}
pipelineRunLabels["appstudio.openshift.io/application"] = applicationName
Expand Down

0 comments on commit b6e6244

Please sign in to comment.