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
+1 -1
View File
@@ -38,7 +38,7 @@ func NewServer(ctx context.Context, config *ServerConfig) (*Server, error) {
config: config,
}
space.OnInitialize(func() error {
pm := policy.PolicyFromSpace(space)
pm := policy.FromSpace(space)
if pm == nil {
return newError("Policy not found in space.")
}