Skip to content

Commit

Permalink
Do not return when internal dataset exist (#2953)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie Guo <sopguo@sopguo-mn2.linkedin.biz>
  • Loading branch information
SophieGuo410 and Sophie Guo authored Nov 27, 2024
1 parent 81b6efc commit a808933
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,6 @@ private void setTargetDatasetAndVersionInRestRequestIfNeeded(RestRequest restReq
}
try {
Dataset dataset = accountService.getDataset(accountName, containerName, datasetName);
if (restRequest.getArgs().get(InternalKeys.TARGET_DATASET) != null) {
return;
}
restRequest.setArg(InternalKeys.TARGET_DATASET, dataset);
if (version != null) {
restRequest.setArg(InternalKeys.TARGET_DATASET_VERSION, version);
Expand Down

0 comments on commit a808933

Please sign in to comment.