Skip to content

Commit 07320ea

Browse files
author
Jason Yellick
committed
[FAB-2694] (PA) Fix some upper case proto fields
This is intended for (PA) post-alpha. https://jira.hyperledger.org/browse/FAB-2694 This CR fixes a few upper case proto fields which escaped the proto style fixes of FAB-2026. Change-Id: I88e451e729872bb87fd62f314c4c1f7c8e278279 Signed-off-by: Jason Yellick <[email protected]>
1 parent 76eedc8 commit 07320ea

6 files changed

+69
-69
lines changed

protos/common/msp_principal.pb.go

+26-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/common/msp_principal.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ message MSPRole {
112112

113113
// MSPRoleType defines which of the available, pre-defined MSP-roles
114114
// an identiy should posess inside the MSP with identifier MSPidentifier
115-
MSPRoleType Role = 2;
115+
MSPRoleType role = 2;
116116

117117
}
118118

protos/common/policies.pb.go

+28-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/common/policies.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ message SignaturePolicyEnvelope {
5050
// and will be the CA for more traditional certificates
5151
message SignaturePolicy {
5252
message NOutOf {
53-
int32 N = 1;
53+
int32 n = 1;
5454
repeated SignaturePolicy policies = 2;
5555
}
5656
oneof Type {

protos/msp/identities.pb.go

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/msp/identities.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ package msp;
2525
// to serialize it and deserialize it
2626
message SerializedIdentity {
2727
// The identifier of the associated membership service provider
28-
string Mspid = 1;
28+
string mspid = 1;
2929

3030
// the Identity, serialized according to the rules of its MPS
31-
bytes IdBytes = 2;
31+
bytes id_bytes = 2;
3232
}

0 commit comments

Comments
 (0)