Skip to content

Commit beaf2b0

Browse files
committed
Submit task for druid records
1 parent b14bf6a commit beaf2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command-service/src/command/druid_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _submit_ingestion_task(self, dataset_id):
3636
)
3737
task_submitted = 1
3838
for record in datasources_records:
39-
if record["dataset_type"] == "event" and record["type"] == "druid":
39+
if record["type"] == "druid":
4040
print(f"Submitting ingestion task for datasource ...")
4141
ingestion_spec = json.dumps(record["ingestion_spec"])
4242
response = self.http_service.post(

0 commit comments

Comments
 (0)