aplex commented on a change in pull request #3387:
URL: https://github.com/apache/gobblin/pull/3387#discussion_r704641629



##########
File path: 
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/trash/Trash.java
##########
@@ -94,6 +97,8 @@ public Path getTrashLocation() throws IOException {
    */
   protected Path createTrashLocation(FileSystem fs, Properties props, String 
user) throws IOException {
     Path trashLocation;
+    new DestinationDatasetHandlerService(new State(props), false, null)

Review comment:
       You can take a look on how this can be refactored better, to make the 
logic more obvious.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to