mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 01:46:26 +00:00
MINOR - None schedules still need Ingestion Pipelines (#18425)
This commit is contained in:
parent
3f1d8c7cd5
commit
dbfe79feef
@ -14,7 +14,6 @@ import org.openmetadata.schema.api.services.ingestionPipelines.CreateIngestionPi
|
||||
import org.openmetadata.schema.entity.app.App;
|
||||
import org.openmetadata.schema.entity.app.AppRunRecord;
|
||||
import org.openmetadata.schema.entity.app.AppType;
|
||||
import org.openmetadata.schema.entity.app.ScheduleTimeline;
|
||||
import org.openmetadata.schema.entity.app.ScheduleType;
|
||||
import org.openmetadata.schema.entity.app.ScheduledExecutionContext;
|
||||
import org.openmetadata.schema.entity.applications.configuration.ApplicationConfig;
|
||||
@ -65,9 +64,7 @@ public class AbstractNativeApplication implements NativeApplication {
|
||||
@Override
|
||||
public void install() {
|
||||
// If the app does not have any Schedule Return without scheduling
|
||||
if (Boolean.TRUE.equals(app.getDeleted())
|
||||
|| (app.getAppSchedule() != null
|
||||
&& app.getAppSchedule().getScheduleTimeline().equals(ScheduleTimeline.NONE))) {
|
||||
if (Boolean.TRUE.equals(app.getDeleted()) || (app.getAppSchedule() == null)) {
|
||||
return;
|
||||
}
|
||||
if (app.getAppType().equals(AppType.Internal)
|
||||
|
Loading…
x
Reference in New Issue
Block a user