Skip to content

Commit

Permalink
RANGER-4398: updated resource ID to start from 1, instead of 0 - #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mneethiraj committed Sep 22, 2023
1 parent a280d1d commit 9ad41a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public static class RangerSecurityZoneServiceHelper {
private final String currentUser;
private final List<HashMap<String, List<String>>> resources;
private final List<RangerSecurityZoneResourceBase> resourcesBaseInfo;
private long nextResourceId = 0;
private long nextResourceId = 1;

public RangerSecurityZoneServiceHelper(RangerSecurityZoneService zoneService, String currentUser) {
this.zoneService = zoneService;
Expand Down

0 comments on commit 9ad41a7

Please sign in to comment.