Skip to content
Snippets Groups Projects
Unverified Commit 48bd0ee9 authored by yacovm's avatar yacovm Committed by Artem Barger
Browse files

[FAB-13444] Prepare onboarding to multi-time use


This change set refactors the onboarding infrastructure to support
multiple use of it, in contrast to the current logic which
can only be used once.

Namely, it re-uses the current logic and introduces a new method
to the replicationInitiator:

replicateChains(lastConfigBlock *common.Block, chains []string)

Which forces replication of the given chain names, with the given
last config block.

The chains slice is passed to the cluster.Replicator as a filter
which prevents pulling chains that aren't among the chains slice.

Change-Id: I3331f2abb6a2879876644b2f5ef4ee48c4eb43fa
Signed-off-by: default avataryacovm <yacovm@il.ibm.com>
parent 12948f81
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment