diff --git a/pkg/services/authz/zanzana/server/server.go b/pkg/services/authz/zanzana/server/server.go index dfd0be84ef0..338ab62ffae 100644 --- a/pkg/services/authz/zanzana/server/server.go +++ b/pkg/services/authz/zanzana/server/server.go @@ -8,7 +8,6 @@ import ( "github.com/fullstorydev/grpchan/inprocgrpc" authzv1 "github.com/grafana/authlib/authz/proto/v1" openfgav1 "github.com/openfga/api/proto/openfga/v1" - "github.com/openfga/language/pkg/go/transformer" "go.opentelemetry.io/otel" "github.com/grafana/grafana/pkg/infra/localcache" @@ -40,7 +39,6 @@ type Server struct { cfg setting.ZanzanaSettings logger log.Logger - modules []transformer.ModuleFile stores map[string]storeInfo storesMU *sync.Mutex cache *localcache.CacheService diff --git a/pkg/services/authz/zanzana/store/migration/migrator.go b/pkg/services/authz/zanzana/store/migration/migrator.go index 2fbb6955556..371d65fac6c 100644 --- a/pkg/services/authz/zanzana/store/migration/migrator.go +++ b/pkg/services/authz/zanzana/store/migration/migrator.go @@ -45,7 +45,6 @@ func RunWithMigrator(m *migrator.Migrator, cfg *setting.Cfg, locations []Locatio } for _, mig := range migrations { - m.AddMigration(mig.name, mig.migration) }