Skip to content

Commit b12c76f

Browse files
author
Jason Yellick
committed
[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 <[email protected]>
1 parent 7e0b4bf commit b12c76f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/configtx/test/helper.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ func OrdererTemplate() configtx.Template {
8585
return provisional.New(genConf).ChannelTemplate()
8686
}
8787

88-
const sampleOrgID = "SAMPLE"
88+
// sampleOrgID apparently _must_ be set to DEFAULT or things break
89+
// Beware when changing!
90+
const sampleOrgID = "DEFAULT"
8991

9092
// ApplicationOrgTemplate returns the SAMPLE org with MSP template
9193
func ApplicationOrgTemplate() configtx.Template {

0 commit comments

Comments
 (0)