Skip to content

Commit

Permalink
Fixing isReplacementAvailableIn logic when field available in is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesouza committed Nov 8, 2023
1 parent 0f1ca9b commit 9249702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (v *Version) isReplacementAvailableIn(targetVersions map[string]string) boo
}

if v.ReplacementAvailableIn == "" {
return true
return false
}

targetVersion, ok := targetVersions[v.Component]
Expand Down

0 comments on commit 9249702

Please sign in to comment.