Skip to content

Commit

Permalink
RANGER-4997: Ranger DataShare created shows status as ACTIVE instead …
Browse files Browse the repository at this point in the history
…of the default REQUESTED.

Signed-off-by: Ramesh Mani <[email protected]>
  • Loading branch information
rkundam authored and Ramesh Mani committed Nov 14, 2024
1 parent 08059b5 commit 5970eda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ private Long getOrCreateDataShare(Long datasetId, Long serviceId, Long zoneId, S
RangerDataShareInDataset rangerDataShareInDataset = new RangerDataShareInDataset();
rangerDataShareInDataset.setDataShareId(rangerDataShare.getId());
rangerDataShareInDataset.setDatasetId(rangerDataset.getId());
rangerDataShareInDataset.setStatus(RangerGds.GdsShareStatus.ACTIVE);
rangerDataShareInDataset.setStatus(RangerGds.GdsShareStatus.REQUESTED);
rangerDataShareInDatasets.add(rangerDataShareInDataset);
addDataSharesInDataset(rangerDataset.getId(), rangerDataShareInDatasets);
ret = rangerDataShare.getId();
Expand Down

0 comments on commit 5970eda

Please sign in to comment.