Skip to content

Commit 57d23a5

Browse files
committed
Merge pull request #180 from marklogic/179-ErrorWhileLoadingData
Get document type from the dataFormat of the entity
2 parents a520c88 + e168df0 commit 57d23a5

File tree

4 files changed

+229
-226
lines changed

4 files changed

+229
-226
lines changed

marklogic-data-hub/src/main/java/com/marklogic/hub/FlowManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void runInputFlow(Flow flow, HubConfig config) {
235235
SourceOptions sourceOptions = new SourceOptions(
236236
flow.getEntityName(), flow.getName(),
237237
FlowType.INPUT.toString(),
238-
flow.getDataFormat().toString());
238+
flow.getDataFormat());
239239
mlcp.addSourceDirectory(config.getModulesPath(), sourceOptions);
240240
mlcp.loadContent();
241241
}

0 commit comments

Comments
 (0)