Skip to content

Commit

Permalink
[FABG-1010] Added ConnectionFailed to ResMgmtDefaultRetryableCodes (#142
Browse files Browse the repository at this point in the history
)

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
  • Loading branch information
bstasyszyn committed Sep 1, 2020
1 parent 166507a commit 0c18d1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/common/errors/retry/defaults.go
Expand Up @@ -97,6 +97,7 @@ var DefaultRetryableCodes = map[status.Group][]status.Code{
// transient by fabric-sdk-go/pkg/client/resmgmt.Client
var ResMgmtDefaultRetryableCodes = map[status.Group][]status.Code{
status.EndorserClientStatus: {
status.ConnectionFailed,
status.EndorsementMismatch,
status.ChaincodeNameNotFound,
},
Expand Down

0 comments on commit 0c18d1a

Please sign in to comment.