Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
fetchImageScanExecutionStepsFor -> fetchImageScanExecutionStepsForWfRequest
  • Loading branch information
prakash100198 committed Jan 15, 2025
1 parent d8e9e40 commit 868c621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/pipeline/CiService.go
Original file line number Diff line number Diff line change
Expand Up @@ -836,9 +836,9 @@ func (impl *CiServiceImpl) buildWfRequestForCiPipeline(pipeline *pipelineConfig.
}
workflowRequest.SetExecuteImageScanningVia(scanVia)
if scanVia.IsExecutionMediumSteps() {
imageScanExecutionSteps, err := impl.fetchImageScanExecutionSteps(scanToolMetadata)
imageScanExecutionSteps, err := impl.fetchImageScanExecutionStepsForWfRequest(scanToolMetadata)
if err != nil {
impl.Logger.Errorw("error occurred, fetchImageScanExecutionSteps", "scanToolMetadata", scanToolMetadata, "err", err)
impl.Logger.Errorw("error occurred, fetchImageScanExecutionStepsForWfRequest", "scanToolMetadata", scanToolMetadata, "err", err)
return nil, err
}
workflowRequest.SetImageScanningSteps(imageScanExecutionSteps)
Expand Down
2 changes: 1 addition & 1 deletion pkg/pipeline/CiService_ent.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ func (impl *CiServiceImpl) fetchImageScanExecutionMedium() (*repository.ScanTool
return &repository.ScanToolMetadata{}, "", nil
}

func (impl *CiServiceImpl) fetchImageScanExecutionSteps(scanToolMetadata *repository.ScanToolMetadata) ([]*types.ImageScanningSteps, error) {
func (impl *CiServiceImpl) fetchImageScanExecutionStepsForWfRequest(scanToolMetadata *repository.ScanToolMetadata) ([]*types.ImageScanningSteps, error) {
return nil, nil
}

0 comments on commit 868c621

Please sign in to comment.