Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAB-17161 improve error message #321

Merged
merged 1 commit into from
Dec 2, 2019

Conversation

guoger
Copy link
Member

@guoger guoger commented Nov 27, 2019

Combination of OUs is not allowed, where error message returned
contains address of OU object, which is not human friendly. This
commit changes it to print actual OU identifiers in []string.

Test done: use disallowed combination of OUs for a Fabric network
and observe error message returned to contain clear text.

Change-Id: Ie7fd19e6542b7b78a736e5b4b6092ad637e37152
Signed-off-by: Jay Guo guojiannan1101@gmail.com

@guoger
Copy link
Member Author

guoger commented Nov 27, 2019

/azp-run

@guoger
Copy link
Member Author

guoger commented Nov 27, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

msp/identities.go Outdated Show resolved Hide resolved
Combination of OUs is not allowed, where error message returned
contains address of OU object, which is not human friendly. This
commit changes it to print actual OU identifiers in []string.

Test done: use disallowed combination of OUs for a Fabric network
and observe error message returned to contain clear text.

Change-Id: Ie7fd19e6542b7b78a736e5b4b6092ad637e37152
Signed-off-by: Jay Guo <guojiannan1101@gmail.com>
@kchristidis kchristidis merged commit f2dbb66 into hyperledger:master Dec 2, 2019
@caod123
Copy link

caod123 commented May 21, 2020

@Mergifyio backport release-1.4

@mergify
Copy link

mergify bot commented May 21, 2020

Command backport release-1.4: failure

No backport have been created

  • Backport to branch release-1.4 failed

Cherry-pick of 7a309c7 has failed:

On branch mergify/bp/release-1.4/pr-321
Your branch is up to date with 'origin/release-1.4'.

You are currently cherry-picking commit 7a309c7de.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:

	modified:   msp/mspimplvalidate.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)

	both modified:   msp/identities.go

@caod123 caod123 mentioned this pull request May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants