Skip to content

Commit

Permalink
Merge pull request #1764 from gogolok/remove_obsolete_code
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkennedy513 authored Nov 25, 2024
2 parents 2301936 + 4f4a94f commit 298e709
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/apis/build/v1alpha2/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,6 @@ func (b *Build) builtWithStack(runImage string) bool {
return lastBuildRunImageRef.Identifier() == builderRunImageRef.Identifier()
}

func (b *Build) builtWithBuildpacks(buildpacks corev1alpha1.BuildpackMetadataList) bool {
for _, bp := range b.Status.BuildMetadata {
if !buildpacks.Include(bp) {
return false
}
}

return true
}

func (b *Build) additionalBuildNeeded() bool {
_, ok := b.Annotations[BuildNeededAnnotation]
return ok
Expand Down

0 comments on commit 298e709

Please sign in to comment.