diff --git a/backend/controller/cronjobs/cronjobs.go b/backend/controller/cronjobs/cronjobs.go index e2d4ed70e3..1d5f35ecce 100644 --- a/backend/controller/cronjobs/cronjobs.go +++ b/backend/controller/cronjobs/cronjobs.go @@ -8,6 +8,13 @@ import ( "time" "connectrpc.com/connect" + "github.com/alecthomas/atomic" + "github.com/alecthomas/types/optional" + "github.com/alecthomas/types/pubsub" + "github.com/benbjohnson/clock" + "github.com/jpillora/backoff" + "github.com/serialx/hashring" + "github.com/TBD54566975/ftl/backend/controller/dal" "github.com/TBD54566975/ftl/backend/controller/scheduledtask" ftlv1 "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1" @@ -16,12 +23,6 @@ import ( "github.com/TBD54566975/ftl/internal/log" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/slices" - "github.com/alecthomas/atomic" - "github.com/alecthomas/types/optional" - "github.com/alecthomas/types/pubsub" - "github.com/benbjohnson/clock" - "github.com/jpillora/backoff" - "github.com/serialx/hashring" ) const ( diff --git a/backend/controller/cronjobs/state.go b/backend/controller/cronjobs/state.go index 0620efe753..cda09241d1 100644 --- a/backend/controller/cronjobs/state.go +++ b/backend/controller/cronjobs/state.go @@ -3,9 +3,10 @@ package cronjobs import ( "time" + "github.com/alecthomas/types/optional" + "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/slices" - "github.com/alecthomas/types/optional" ) // state models the state of the cron job service's private state for scheduling jobs and reacting to events