diff --git a/backend/controller/admin/local_client.go b/backend/controller/admin/local_client.go index eccd6d0887..53eb8e4383 100644 --- a/backend/controller/admin/local_client.go +++ b/backend/controller/admin/local_client.go @@ -57,7 +57,7 @@ func (s *diskSchemaRetriever) GetActiveSchema(ctx context.Context) (*schema.Sche if err != nil { moduleSchemas <- either.RightOf[*schema.Module](fmt.Errorf("could not load plugin for %s: %w", m.Module, err)) } - defer plugin.Kill(ctx) // nolint:errcheck + defer plugin.Kill() // nolint:errcheck customDefaults, err := plugin.ModuleConfigDefaults(ctx, m.Dir) if err != nil { diff --git a/frontend/cli/cmd_schema_diff.go b/frontend/cli/cmd_schema_diff.go index 168e6a4124..925b6e0e3c 100644 --- a/frontend/cli/cmd_schema_diff.go +++ b/frontend/cli/cmd_schema_diff.go @@ -107,7 +107,7 @@ func localSchema(ctx context.Context, projectConfig projectconfig.Config) (*sche if err != nil { moduleSchemas <- either.RightOf[*schema.Module](err) } - defer plugin.Kill(ctx) // nolint:errcheck + defer plugin.Kill() // nolint:errcheck customDefaults, err := plugin.ModuleConfigDefaults(ctx, m.Dir) if err != nil {