File tree 7 files changed +34
-801
lines changed
7 files changed +34
-801
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import (
11
11
"syscall"
12
12
"time"
13
13
14
+ "github.com/anyproto/any-sync/acl"
14
15
"github.com/anyproto/any-sync/app"
15
16
"github.com/anyproto/any-sync/app/logger"
16
17
"github.com/anyproto/any-sync/consensus/consensusclient"
@@ -26,7 +27,6 @@ import (
26
27
"go.uber.org/zap"
27
28
28
29
"github.com/anyproto/any-sync-coordinator/account"
29
- "github.com/anyproto/any-sync-coordinator/acl"
30
30
"github.com/anyproto/any-sync-coordinator/config"
31
31
"github.com/anyproto/any-sync-coordinator/coordinator"
32
32
"github.com/anyproto/any-sync-coordinator/coordinatorlog"
Original file line number Diff line number Diff line change 6
6
"time"
7
7
8
8
"github.com/anyproto/any-sync/accountservice"
9
+ "github.com/anyproto/any-sync/acl"
9
10
"github.com/anyproto/any-sync/app"
10
11
"github.com/anyproto/any-sync/app/logger"
11
12
"github.com/anyproto/any-sync/commonspace"
@@ -20,7 +21,6 @@ import (
20
21
"go.uber.org/zap"
21
22
"storj.io/drpc"
22
23
23
- "github.com/anyproto/any-sync-coordinator/acl"
24
24
"github.com/anyproto/any-sync-coordinator/config"
25
25
"github.com/anyproto/any-sync-coordinator/coordinatorlog"
26
26
"github.com/anyproto/any-sync-coordinator/deletionlog"
@@ -61,7 +61,7 @@ type coordinator struct {
61
61
metric metric.Metric
62
62
fileLimit filelimit.FileLimit
63
63
deletionLog deletionlog.DeletionLog
64
- acl acl.Acl
64
+ acl acl.AclService
65
65
}
66
66
67
67
func (c * coordinator ) Init (a * app.App ) (err error ) {
@@ -75,7 +75,7 @@ func (c *coordinator) Init(a *app.App) (err error) {
75
75
c .metric = a .MustComponent (metric .CName ).(metric.Metric )
76
76
c .fileLimit = a .MustComponent (filelimit .CName ).(filelimit.FileLimit )
77
77
c .deletionLog = app.MustComponent [deletionlog.DeletionLog ](a )
78
- c .acl = app.MustComponent [acl.Acl ](a )
78
+ c .acl = app.MustComponent [acl.AclService ](a )
79
79
return coordinatorproto .DRPCRegisterCoordinator (a .MustComponent (server .CName ).(drpc.Mux ), h )
80
80
}
81
81
You can’t perform that action at this time.
0 commit comments