Skip to content

Commit

Permalink
Do not wrap line
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Francisco Dillet Alfonso <[email protected]>
  • Loading branch information
Jose Francisco Dillet Alfonso committed Sep 10, 2024
1 parent 519e707 commit 991ac5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/controller/pkg/revision/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ func (m *PackageDependencyManager) Resolve(ctx context.Context, pkg runtime.Obje
// This is a corner case when source is updated but image SHA is not (i.e. relocate same image
// to another registry)
for _, lp := range lock.Packages {
if self.Name == lp.Name &&
self.Type == lp.Type &&
self.Source != lp.Identifier() {
if self.Name == lp.Name && self.Type == lp.Type && self.Source != lp.Identifier() {
if err := m.RemoveSelf(ctx, pr); err != nil {
return found, installed, invalid, err
}
Expand Down

0 comments on commit 991ac5f

Please sign in to comment.