Skip to content

Commit

Permalink
Merge branch 'main' into schema-validator
Browse files Browse the repository at this point in the history
  • Loading branch information
manjudr authored Aug 27, 2024
2 parents 0fa749e + 65865e6 commit df9d38d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ object MasterDataProcessorIndexer {
}

def fetchDatasource(dataset: Dataset): DataSource = {
val datasources: List[DataSource] = DatasetRegistry.getDatasources(dataset.id).get
val datasources: List[DataSource] = DatasetRegistry.getDatasources(dataset.id).get.filter(ds => ds.`type`.toLowerCase() == "druid")
if (datasources.isEmpty) {
throw new ObsrvException(ErrorConstants.ERR_DATASOURCE_NOT_FOUND)
}
Expand Down

0 comments on commit df9d38d

Please sign in to comment.