Skip to content

Commit

Permalink
Bug 572650 upgrade licenses domain model
Browse files Browse the repository at this point in the history
evolve floating license grant acquisition according to model api change

Signed-off-by: eparovyshnaya <[email protected]>
  • Loading branch information
eparovyshnaya committed May 23, 2021
1 parent 2eecd24 commit fb33f49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private Collection<FeatureGrant> get(FlsGear gear) {
*/
private Optional<FeatureGrant> grantForFeature(FloatingLicensePack license) {
return license.getFeatures().stream()//
.filter(grant -> feature.equals(grant.getFeature()))//
.filter(grant -> feature.equals(grant.getFeature().getIdentifier()))//
.findAny();//
}

Expand Down

0 comments on commit fb33f49

Please sign in to comment.