Skip to content

Commit

Permalink
fix for sporadic porch crash during new package revision
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshabm authored and JamesMcDermott committed Dec 17, 2024
1 parent a37fa28 commit 3d1c40f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ func (r *PackageVariantReconciler) isUpToDate(pv *api.PackageVariant, downstream
// will always be a published revision, so we will need to do an update.
return false
}
currentUpstreamRevision := upstreamLock.Git.Ref[lastIndex+1:]
return currentUpstreamRevision == pv.Spec.Upstream.Revision
}

func (r *PackageVariantReconciler) copyPublished(ctx context.Context,
Expand Down

0 comments on commit 3d1c40f

Please sign in to comment.