rename interfaces

This commit is contained in:
Darien Raymond
2017-11-27 22:18:39 +01:00
parent 3214a5078c
commit f90ec9fff0
11 changed files with 21 additions and 18 deletions

View File

@@ -39,7 +39,7 @@ func New(ctx context.Context, config *Config) (*DokodemoDoor, error) {
port: net.Port(config.Port),
}
space.OnInitialize(func() error {
pm := policy.PolicyFromSpace(space)
pm := policy.FromSpace(space)
if pm == nil {
return newError("Policy not found in space.")
}