Skip to content

Commit

Permalink
buggy
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1queee committed Jan 22, 2024
1 parent 3102211 commit cc8f1d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/build/v1beta1/buildrun_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ func (src *BuildRun) ConvertTo(ctx context.Context, obj *unstructured.Unstructur
}

if src.Status.Source != nil && src.Status.Source.OciArtifact != nil {
sourceStatus[0] = v1alpha1.SourceResult{
sourceStatus = append(sourceStatus, v1alpha1.SourceResult{
Bundle: (*v1alpha1.BundleSourceResult)(src.Status.Source.OciArtifact),
}
})
}

conditions := []v1alpha1.Condition{}
Expand Down

0 comments on commit cc8f1d6

Please sign in to comment.