diff --git a/internal/storage/postgres/dataWriter.go b/internal/storage/postgres/dataWriter.go index bb383742a..2bab00d6b 100644 --- a/internal/storage/postgres/dataWriter.go +++ b/internal/storage/postgres/dataWriter.go @@ -4,9 +4,8 @@ import ( "context" "database/sql" "errors" - "strings" - "log/slog" + "strings" "github.com/golang/protobuf/jsonpb" diff --git a/internal/storage/postgres/schemaReader.go b/internal/storage/postgres/schemaReader.go index e46d82d87..8cef07548 100644 --- a/internal/storage/postgres/schemaReader.go +++ b/internal/storage/postgres/schemaReader.go @@ -4,7 +4,6 @@ import ( "context" "database/sql" "errors" - "log/slog" "github.com/Masterminds/squirrel" diff --git a/internal/storage/postgres/schemaReader_test.go b/internal/storage/postgres/schemaReader_test.go index 6eee4ad87..2d9d4d9f4 100644 --- a/internal/storage/postgres/schemaReader_test.go +++ b/internal/storage/postgres/schemaReader_test.go @@ -136,7 +136,6 @@ var _ = Describe("SchemaReader", func() { Expect(en.GetPermissions()).Should(Equal(map[string]*base.PermissionDefinition{})) Expect(en.GetAttributes()).Should(Equal(map[string]*base.AttributeDefinition{})) Expect(en.GetReferences()["admin"]).Should(Equal(base.EntityDefinition_REFERENCE_RELATION)) - }) }) diff --git a/internal/storage/postgres/tenantReader.go b/internal/storage/postgres/tenantReader.go index d2dc07cb3..2028ea40f 100644 --- a/internal/storage/postgres/tenantReader.go +++ b/internal/storage/postgres/tenantReader.go @@ -4,7 +4,6 @@ import ( "context" "database/sql" "errors" - "log/slog" "github.com/Masterminds/squirrel" diff --git a/internal/storage/postgres/tenantWriter.go b/internal/storage/postgres/tenantWriter.go index d3452319c..87f97fd69 100644 --- a/internal/storage/postgres/tenantWriter.go +++ b/internal/storage/postgres/tenantWriter.go @@ -4,11 +4,10 @@ import ( "context" "database/sql" "errors" + "log/slog" "strings" "time" - "log/slog" - "github.com/Masterminds/squirrel" otelCodes "go.opentelemetry.io/otel/codes" "google.golang.org/protobuf/types/known/timestamppb"