-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-17170 Peer CLI should encode mdata lowercase
Once upon a time, the JSON fields in the chaincode package metadata.json were upper case. The peer CLI was written to reflect this fact. When they were changed to lower-case, the peer CLI was not updated, but because of the fuzzy JSON matching rules in the golang JSON decoded it was not noticed. However, for external builders, the inconsistency is more likely to be noticed as tools like jq etc. may not default to this same fuzzy case-insensitive matching. This change simply modifies the peer CLI to encode the metadata fields as lower case. Signed-off-by: Jason Yellick <[email protected]>
- Loading branch information
Jason Yellick
committed
Dec 10, 2019
1 parent
b1d37c6
commit 84845ff
Showing
2 changed files
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters