forked from TrueCloudLab/frostfs-node
[#705] innerring/governance: Hide fetching ir keys behind interface
Add to governance processor IRFetcher interface. Implementation must deduct if notary enabled or not. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
73ba35b379
commit
c8d58d56b9
3 changed files with 16 additions and 3 deletions
|
@ -54,7 +54,7 @@ func (gp *Processor) processAlphabetSync() {
|
|||
}
|
||||
|
||||
// 2. Update NeoFSAlphabet role in side chain.
|
||||
innerRing, err := gp.morphClient.NeoFSAlphabetList()
|
||||
innerRing, err := gp.irFetcher.InnerRingKeys()
|
||||
if err != nil {
|
||||
gp.log.Error("can't fetch inner ring list from side chain",
|
||||
zap.String("error", err.Error()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue