You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by GitBox <gi...@apache.org> on 2021/08/10 02:44:43 UTC

[GitHub] [gobblin] aplex commented on a change in pull request #3327: [GOBBLIN-1457] Add persistence for troubleshooter in Gobblin service

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



##########
File path: gobblin-metastore/src/main/java/org/apache/gobblin/metastore/util/DatabaseJobHistoryStoreSchemaManager.java
##########
@@ -54,9 +55,7 @@
   private final Flyway flyway;
 
   private DatabaseJobHistoryStoreSchemaManager(Properties properties) {
-    flyway = new Flyway();
-    flyway.configure(properties);
-    flyway.setClassLoader(this.getClass().getClassLoader());
+    flyway = Flyway.configure(this.getClass().getClassLoader()).configuration(properties).load();

Review comment:
       Yes. We upgraded from version 3 to 7, and there were some API changes.




-- 
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: dev-unsubscribe@gobblin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org