Skip to content

Commit 27ab9de

Browse files
authored
allow FileSystemConfigPersistence to fail on missing root dir (#4987)
1 parent 718bd75 commit 27ab9de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/FileSystemConfigPersistence.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static ConfigPersistence createWithValidation(final Path storageRoot) thr
7676

7777
public FileSystemConfigPersistence(final Path storageRoot) {
7878
this.storageRoot = storageRoot;
79-
this.configRoot = Exceptions.toRuntime(() -> Files.createDirectories(storageRoot.resolve(CONFIG_DIR)));
79+
this.configRoot = storageRoot.resolve(CONFIG_DIR);
8080
}
8181

8282
@Override

0 commit comments

Comments
 (0)