From b12c76f7def23bcfd753fd97af01099688a85259 Mon Sep 17 00:00:00 2001 From: Jason Yellick Date: Tue, 14 Feb 2017 12:18:14 -0500 Subject: [PATCH] [FAB-2232] Rename test MSP to DEFAULT https://jira.hyperledger.org/browse/FAB-2232 The FAB-1880 change series picked the name "SAMPLE" when instantiating the sample MSP config when an ID was added to the GetLocalMspFromDir function. This apparently as a side effect breaks other parts fo the system, so this CR sets this ID back to "DEFAULT" as other pieces of the system expect. Change-Id: I5df97693561ab53d47f34d14d381e4f2fe4a92ad Signed-off-by: Jason Yellick --- common/configtx/test/helper.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/configtx/test/helper.go b/common/configtx/test/helper.go index ad4a2207156..4889b484b75 100644 --- a/common/configtx/test/helper.go +++ b/common/configtx/test/helper.go @@ -85,7 +85,9 @@ func OrdererTemplate() configtx.Template { return provisional.New(genConf).ChannelTemplate() } -const sampleOrgID = "SAMPLE" +// sampleOrgID apparently _must_ be set to DEFAULT or things break +// Beware when changing! +const sampleOrgID = "DEFAULT" // ApplicationOrgTemplate returns the SAMPLE org with MSP template func ApplicationOrgTemplate() configtx.Template {