diff --git a/backend/controller/artefacts/artefact.go b/backend/controller/artefacts/artefact.go index 0ea02d4ff3..b8747a3608 100644 --- a/backend/controller/artefacts/artefact.go +++ b/backend/controller/artefacts/artefact.go @@ -2,8 +2,9 @@ package artefacts import ( "context" - "github.com/TBD54566975/ftl/internal/sha256" "io" + + "github.com/TBD54566975/ftl/internal/sha256" ) // Metadata container for an artefact's metadata diff --git a/backend/controller/artefacts/dal_registry.go b/backend/controller/artefacts/dal_registry.go index c21ae07641..b9d8dcd520 100644 --- a/backend/controller/artefacts/dal_registry.go +++ b/backend/controller/artefacts/dal_registry.go @@ -2,11 +2,13 @@ package artefacts import ( "context" + "io" + + sets "github.com/deckarep/golang-set/v2" + "github.com/TBD54566975/ftl/backend/libdal" "github.com/TBD54566975/ftl/internal/sha256" "github.com/TBD54566975/ftl/internal/slices" - sets "github.com/deckarep/golang-set/v2" - "io" ) type ArtefactRow struct { diff --git a/backend/controller/controller.go b/backend/controller/controller.go index e334d3a315..c0de422351 100644 --- a/backend/controller/controller.go +++ b/backend/controller/controller.go @@ -9,7 +9,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/TBD54566975/ftl/backend/controller/artefacts" "hash" "io" "net/http" @@ -35,6 +34,7 @@ import ( "github.com/TBD54566975/ftl" "github.com/TBD54566975/ftl/backend/controller/admin" + "github.com/TBD54566975/ftl/backend/controller/artefacts" "github.com/TBD54566975/ftl/backend/controller/console" "github.com/TBD54566975/ftl/backend/controller/cronjobs" "github.com/TBD54566975/ftl/backend/controller/dal" diff --git a/backend/controller/dal/dal.go b/backend/controller/dal/dal.go index a6fbeb22f4..a6e172257a 100644 --- a/backend/controller/dal/dal.go +++ b/backend/controller/dal/dal.go @@ -6,7 +6,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/TBD54566975/ftl/backend/controller/artefacts" "strings" "time" @@ -15,6 +14,7 @@ import ( xmaps "golang.org/x/exp/maps" "google.golang.org/protobuf/proto" + "github.com/TBD54566975/ftl/backend/controller/artefacts" dalsql "github.com/TBD54566975/ftl/backend/controller/dal/internal/sql" "github.com/TBD54566975/ftl/backend/controller/encryption" "github.com/TBD54566975/ftl/backend/controller/encryption/api"