mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
handler: remove unused SinkMappingFunc
This commit is contained in:
parent
0a53b2415f
commit
d76d3db0b3
@ -104,7 +104,6 @@ outer:
|
||||
handler := Handler{
|
||||
Logger: log,
|
||||
PullACL: j.Datasets,
|
||||
// TODO should set SinkMapping here? no, but check Handler impl
|
||||
}
|
||||
|
||||
// handle connection
|
||||
|
@ -32,9 +32,8 @@ type IncrementalTransferRequest struct {
|
||||
}
|
||||
|
||||
type Handler struct {
|
||||
Logger Logger
|
||||
PullACL zfs.DatasetFilter
|
||||
SinkMappingFunc func(clientIdentity string) (mapping DatasetMapping, err error)
|
||||
Logger Logger
|
||||
PullACL zfs.DatasetFilter
|
||||
}
|
||||
|
||||
func registerEndpoints(server rpc.RPCServer, handler Handler) (err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user