diff --git a/flyteadmin/pkg/manager/impl/launch_plan_manager.go b/flyteadmin/pkg/manager/impl/launch_plan_manager.go index 2f1cc68202..f2192b701c 100644 --- a/flyteadmin/pkg/manager/impl/launch_plan_manager.go +++ b/flyteadmin/pkg/manager/impl/launch_plan_manager.go @@ -145,9 +145,6 @@ func isScheduleEmpty(launchPlanSpec admin.LaunchPlanSpec) bool { if schedule.GetCronSchedule() != nil && len(schedule.GetCronSchedule().Schedule) != 0 { return false } - if len(schedule.GetKickoffTimeInputArg()) != 0 { - return false - } if len(schedule.GetCronExpression()) != 0 { return false } diff --git a/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go b/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go index 4e0b79ab24..61b5db80bb 100644 --- a/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go +++ b/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go @@ -1407,6 +1407,6 @@ func TestIsScheduleEmpty(t *testing.T) { }, }, } - assert.False(t, isScheduleEmpty(sp)) + assert.True(t, isScheduleEmpty(sp)) }) }