Skip to content

Commit

Permalink
[FAB-2232] Rename test MSP to DEFAULT
Browse files Browse the repository at this point in the history
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 <jyellick@us.ibm.com>
  • Loading branch information
Jason Yellick committed Feb 15, 2017
1 parent 7e0b4bf commit b12c76f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/configtx/test/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b12c76f

Please sign in to comment.