forked from TrueCloudLab/frostfs-node
[#212] reputationsvc: Resolve linters and rename
Resolved containedctx linters. Renamed context structs and interfaces to more understandble names. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
469e8a6e59
commit
7ebbfa3358
24 changed files with 203 additions and 238 deletions
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
reputationcommon "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/reputation/common"
|
||||
reputationrouter "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/reputation/common/router"
|
||||
)
|
||||
|
||||
// Prm groups the required parameters of the Controller's constructor.
|
||||
|
@ -24,7 +24,7 @@ type Prm struct {
|
|||
// trust to other nodes.
|
||||
//
|
||||
// Must not be nil.
|
||||
LocalTrustTarget reputationcommon.WriterProvider
|
||||
LocalTrustTarget *reputationrouter.Router
|
||||
}
|
||||
|
||||
// Controller represents main handler for starting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue