Skip to content

Commit e168df0

Browse files
committed
Get document type from the dataFormat of the entity
1 parent a520c88 commit e168df0

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)