Index: impl/prod/module.go |
diff --git a/impl/prod/module.go b/impl/prod/module.go |
index e34c880e09f0f9daa63460972c9b4130d607b5e9..30e7678e5bb8bb4d334893268fe1cf0ec39994d9 100644 |
--- a/impl/prod/module.go |
+++ b/impl/prod/module.go |
@@ -12,14 +12,13 @@ import ( |
// useModule adds a Module implementation to context. |
func useModule(usrCtx context.Context) context.Context { |
- return module.SetFactory(usrCtx, func(ci context.Context) module.Interface { |
- return modImpl{ci, AEContext(ci)} |
+ return module.SetFactory(usrCtx, func(ci context.Context) module.RawInterface { |
+ return modImpl{AEContext(ci)} |
}) |
} |
type modImpl struct { |
- usrCtx context.Context |
- aeCtx context.Context |
+ aeCtx context.Context |
} |
func (m modImpl) List() ([]string, error) { |