Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix: CC pod should not restart on error, instead it needs to be recre…
Browse files Browse the repository at this point in the history
…ated

For example in case of expired external CC certificates
  • Loading branch information
djboris9 authored Jul 5, 2021
1 parent 1db20cb commit ebc10e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func createChaincodePod(ctx context.Context,
},
},
EnableServiceLinks: BoolRef(false),
RestartPolicy: apiv1.RestartPolicyAlways,
RestartPolicy: apiv1.RestartPolicyNever,
Volumes: []apiv1.Volume{
{
Name: "transfer-pv",
Expand Down

0 comments on commit ebc10e7

Please sign in to comment.