Skip to content

Commit

Permalink
chore(refactor): removed unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Apr 18, 2022
1 parent 9216636 commit 98e9a08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/build/build_phase.go
Expand Up @@ -294,8 +294,6 @@ func (phase *BuildPhase) publishImageMetadata(ctx context.Context, img *Image) e
commits = append(commits, headCommit)

if phase.Conveyor.GetLocalGitRepoVirtualMergeOptions().VirtualMerge {
phase.Conveyor.giterminismManager.LocalGitRepo().GetMergeCommitParents(ctx, headCommit)

fromCommit, _, err := git_repo.GetVirtualMergeParents(ctx, phase.Conveyor.giterminismManager.LocalGitRepo(), headCommit)
if err != nil {
return fmt.Errorf("unable to get virtual merge commit %q parents: %w", headCommit, err)
Expand Down

0 comments on commit 98e9a08

Please sign in to comment.