forked from TrueCloudLab/frostfs-node
[#552] gofumpt changes
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>rpc_not_defined
parent
7eb46404a1
commit
05f8f49289
|
@ -23,7 +23,8 @@ var _ engine.LocalOverrideEngine = (*accessPolicyEngine)(nil)
|
||||||
|
|
||||||
func newAccessPolicyEngine(
|
func newAccessPolicyEngine(
|
||||||
morphChainStorage engine.MorphRuleChainStorage,
|
morphChainStorage engine.MorphRuleChainStorage,
|
||||||
localOverrideDatabase chainbase.LocalOverrideDatabase) *accessPolicyEngine {
|
localOverrideDatabase chainbase.LocalOverrideDatabase,
|
||||||
|
) *accessPolicyEngine {
|
||||||
return &accessPolicyEngine{
|
return &accessPolicyEngine{
|
||||||
chainRouter: engine.NewDefaultChainRouterWithLocalOverrides(
|
chainRouter: engine.NewDefaultChainRouterWithLocalOverrides(
|
||||||
morphChainStorage,
|
morphChainStorage,
|
||||||
|
|
|
@ -22,9 +22,7 @@ type boltLocalOverrideStorage struct {
|
||||||
db *bbolt.DB
|
db *bbolt.DB
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var chainBucket = []byte{0}
|
||||||
chainBucket = []byte{0}
|
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ErrChainBucketNotFound = logicerr.New("chain root bucket has not been found")
|
ErrChainBucketNotFound = logicerr.New("chain root bucket has not been found")
|
||||||
|
|
Loading…
Reference in New Issue